May 24, 20169 yr I want to be able to create a popover that when pressing a specific key it exits to a certain script. This is in a layout where a part is looked up. A variable has been create with the following Set variable [$Gnumber;Value:""] which then displays in a popover which I want the user to enter the number and then press a certain key (like F8 or F9) which then runs a script that assigns that variable to perform a find in the database. My issue is how do I test for certain keystrokes in an easy way, what codes are assigned to function keys or even the enter key? Thanks Paul
May 24, 20169 yr I'd probably just have a Done button, but this article gives a pretty good overview: http://sixfriedrice.com/wp/script-triggers-using-the-keystroke-trigger/
May 24, 20169 yr 2 hours ago, Tron50 said: A variable has been create with the following Set variable [$Gnumber;Value:""] Unrelated to your question, but setting a variable to an empty string does not "create" it. On the contrary: it erases it, if it already existed. If it didn't, the action does nothing. WRT to the question, it seems that a custom dialog, showing a global field, would be a more appropriate choice here.
May 24, 20169 yr Author Yep your right, I typed before I thought. The Done button sounds like a god idea and simple
Create an account or sign in to comment