Setup a hotkey for Sikuli to execute code
How would you setup hotkeys for Sikuli to execute your code.
Control - Shift - N: Would run a function to do something
Control - Shift - E: Would run a function to do something else
So with Sikuli running, and the user presses Control - Shift - N ... would run a function.
Alternative, if they pressed Control - Shift - E, it would run a different function.
And if the user pressed nothing, Sikuli would just wait for that input.