All comments in LUA start with a --
The TriggerKey option is used to specify which key will trigger the script. The option will only have an effect if the TriggerType is set to Key.
-- TriggerKey=f
In the above example, the pushing the f key will trigger the script to run. The case of the letter is important. If you want the script to trigger with the key combination Shift + f, then you would specify the trigger key as F.
-- TriggerKey=F
Certain keys can not be used to trigger the script such as the Escape, Return, Function or Backspace keys.

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.