I have recently started to use Autohotkey. It basically works, but I have the issue, that PIPs change when scrolling through ship or station menus. Also if I keep a button pushed, the same command will be executed again. Maybe someone has a decent solution?