Jump to content

Execute a script when the user hits the enter key


mtnman
 Share

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

Recommended Posts

As far as I know, you can't do this without a pricey plugin. I can think of a couple of workarounds, though.

You could set up your scripts so the user is always in "pause" mode. That way, hitting the enter key will continue the script, performing subscripts or whatever you need. This can be pretty tricky to keep synchronized for the user, unless the user is always doing a small series of standard data entry steps.

A more drastic workaround would be to leave your script available under the "Script" menu. This way, the key combination Apple-1 will trigger it (Control-1 on a PC). Now get one of those keyboard redefining utilities and redefine your enter key to be Apple-1.

I *told* you it was drastic!

Steve Brown

Link to comment
Share on other sites

This topic is 6494 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
 Share

×
×
  • Create New...

Important Information

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