Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5117 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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...

Posted

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

This topic is 5117 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.