November 20, 201015 yr Hello, thanks for reading... What I currently have is a customer info layout, with a button that runs a script to create a new invoice for that customer. I'd like to create a 'hotkey' to create the invoice, instead of mousing over to the button on the layout. When I add an OnLayoutKeystroke trigger that runs the 'new invoice' script when 'i' is detected, then of course any time you enter any data containing the letter 'i', the new invoice script will trigger. Is there a way to implement this by only triggering the script when no modifiable text field is selected? Thanks for any help, or suggestions for a better means to this end...
November 20, 201015 yr Is there a way to implement this by only triggering the script when no modifiable text field is selected? No, but the script itself can make the distinction, e.g. If [ not Get ( ActiveSelectionStart ) ] # DO SOMETHING Exit Script [ Result: False ] End If
Create an account or sign in to comment