AnsweredAssumed Answered

Get ( TriggerKeystroke ) does not return value when used in script parameter expression.

Question asked by philmodjunk on Aug 29, 2011
Latest reply on Dec 9, 2011 by philmodjunk

Summary

Get ( TriggerKeystroke ) does not return value when used in script parameter expression.

Product

FileMaker Pro

Version

Advanced 11.03

Operating system version

Windows 7

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.

Workaround

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.

Outcomes