July 25, 200322 yr Newbies 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...
July 25, 200322 yr 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
July 25, 200322 yr 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
July 25, 200322 yr 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
Create an account or sign in to comment