Jump to content

Typing in a field and press 'enter' want to launch script!


BowDown
 Share

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

Recommended Posts

A possible solution is to use the Event Script by Gaston Forgues to trigger a script when the field is exited.

Another possible work around is using the built-in functionality to have a shortcut key run a script but it will reaquite the Ctrl key and other key.

There is no direct way of having the enter key run a script. The enter key can be used to continue a paused script.

Link to comment
Share on other sites

Here's a possible alternative you may find helpful. In FM8 it's possible to Tab to buttons. In the example file when you tab out of the number field you end up on the button. It's not precisely what you want but it does lessen the PIA factor.

If you want it to work exactly as you stated, then you will need to use one of the plugins raybaudi and mr_vodka suggested.

Link to comment
Share on other sites

This topic is 5749 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.