Get ( TriggerKeystroke ) does not return value when used in script parameter expression.
Operating system version
Description of the issue
Needed to pass single keystroke to generic binary search script as a parameter. So used OnLayoutKeystroke trigger with Get ( TriggerKeystroke ) in optional parameter box to send keystroke to this generic script.
Script failed and checking in data viewer with debugger enabled reveals that Get ( TriggerKeystroke ) was returning an empty value.
Used script trigger to perform an intermediary script that was then able to pass the keystroke to the binary search script by putting Get ( TriggerKeyStroke ) in its Perform Script call to the binary search script.