Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

how can I capture a keypress event ?

Featured Replies

  • 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...

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

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

  • Author
  • Newbies

thank you all!!!!

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.