Newbies ShineFM Posted July 25, 2003 Newbies Posted July 25, 2003 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...
ryanzon Posted July 25, 2003 Posted July 25, 2003 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
Mike D. Posted July 25, 2003 Posted July 25, 2003 Take a look at the Barcode section of this forum. There may be some help there. For example, check out this thread (Barcode in FileMaker) http://www.fmforums.com/threads/showflat.php?Cat=&Number=32347&page=1&view=collapsed&sb=5&o=&fpart=1 HTH, Mike
Ugo DI LUCA Posted July 25, 2003 Posted July 25, 2003 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," ") Perform Script <Scan Script> Goto Field (g_globalCR) Loop End Loop If (Patterncount(g_globalCR, " ") >g_countglobal_CR) Pause/Resume (00:00:02) End Loop Exit Field Perform Script 2
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now