Get(TriggerModifierKeys)Returns a value only when called from a script activated by a script trigger or from a sub-script called from the triggered script; otherwise, returns an empty string.
• See Get(ActiveModifierKeys) for a description of the values assigned to the keyboard modifier keys.
• See the Code function for a list of navigational keys and the codes returned to a script activated by this trigger.
•
• The value 9 is returned when Shift-Option is pressed on a computer running OS X. If the Option and Shift keys are pressed on a Mac when a script is triggered, Get(TriggerModifierKeys) returns 9, regardless of which modifier keys have been pressed between when the trigger was activated and when the script runs.