This posting is older than 6 months and can contain outdated information.
Hello Silas,
thanks for asking.
AppleScript is not threadsafe. Thus, it can't be executed
asynchronously and Remote Buddy will only execute the next action
once the previous one has finished.
This is also important as only this way the user is able to rely on
an action to be finished before the next action is executed.
I.e. if you write a script to switch an application to a different
mode and then use keystrokes to command in that mode - but keystroke
that do something entirely different / unwanted, if not in the right
mode - it could easily happen that the AppleScript needs longer to
compile and execute than it needs to send the keystrokes, triggering
different actions.
Keyspan's software uses a seperate process to execute AppleScript.
This consumes additional memory and you can easily run into the kind
of problems as mentioned above.
If you need a menu to select from, there's a much easier way to
achieve this - especially without having to map several buttons to
keycodes and such: Remote Buddy provides its own AppleScript command
to open (hierarchical) menus that you can navigate with the remote.
Please have a look at Remote Buddy's AppleScript dictionary in Script
Editor.app for sample code. It's a clean design and really easy to use.
Best regards,
Felix