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

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

Recommended Posts

  • Newbies
Posted

hello!!! Is it possible in Filemaker to capture a keypress event? I mean, can a script run only by pressing a key? I know that a script can run only by pressing buttons, and I need to run a script only pressing the enter key, because I use a codebar scanner, and I want to run a script after I have scannered a codebar! I hope this is possible... Thank you all!!!

p.s. ??? excuse me if I made some errors in the text...

Posted

Unfortunately, this is not possible .....yet... Although you can run a script when it loses focus (like the lose focus event in VB) using the events plugin

Posted

ShineFM said:

I want to run a script after I have scannered a codebar!

Enter or Return Key ?

If this first operation was made by script, you could include a Loop script and then capture the key that was hit to execute the sub-script.

i.e.

Set Field (g_countglobal_CR = Patterncount(global_CR," par.gif ")

Perform Script <Scan Script>

Goto Field (g_globalCR)

Loop

End Loop If (Patterncount(g_globalCR, " par.gif ") >g_countglobal_CR)

Pause/Resume (00:00:02)

End Loop

Exit Field

Perform Script 2

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