TriggerKey

From Moving Light Assistant
Revision as of 00:06, 8 June 2014 by Andyv wiki admin (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.