Hi,
I didn’t explain it earlier to focus more on the problem I was having and not take much of your time.
The script I built is just a script launcher. You run it, and for each key you then press, it runs a specific script. I know there was ft_toolbar and kbar, and I really like those scripts, but I wanted to launch scripts using a custom keyboard or even an extra numpad, so that each key launches a specific script that I set up.
So I set a shortcut in AE (ctrl+shift+\) to run the script, and configured the extra numpad to run macros. So each key is a combination of “ctrl+shift+\+1”, “ctrl+shift+\+2”, “ctrl+shift+\+3″… and so on…
I have no idea if this is a long work around or if there is another easier of doing so… But this is working perfectly. The script reads a txt file, containing the key name and the path to the script I want to launch, so it would be easier configure whenever I felt like needed.
I asked for help thinking about other scenarios, in which I would not have the external numpad and still wanted to use the script, but missed a key, or if the macros was not well configured and so we would not be stuck on a loop forever. Now I’ve made a custom keyboard with Arduino and will soon 3DPrint the enclosure.
That’s it… I’m a big fan of DIY stuff and thanks to the help I got here I’m one step closer to get it done.