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

Control of keyboard

Featured Replies

  • Newbies

I want to use single keys on the keyboard (probably the "z" to "?" row) to tally data points in various categories: "z", for example, might increase the numerical value of fieldone by 1, "x" might increase the value of fieldtwo, and so forth. Pressing the key has to do the whole job--pressing "return", for example, would make the process too inefficient. Is it possible for me to seize control of the keyboard in this way?

Thanks.

Rather than use applescript or any other script that executes whenever you type a single key, why not just go into a global text field (called keyboardInput) and start hitting keys. When you are done, you can run a filemaker script Does the tallying like this:

code:


# CharCount is a global number field

Set Field [CharCount, Calculation:1]

Loop

Exit Loop If [CharCount>Length(keyboardInput)]

If [Middle(KeyboardInput,CharCount,1)="z"

#tally the z field

End If

If [Middle(KeyboardInput,CharCount,1)="x"

#tally the x field

End If

If [Middle(KeyboardInput,CharCount,1)="c"

#tally the c field

End If

If [Middle(KeyboardInput,CharCount,1)="v"

#tally the v field

End If

# and so on for each possible key

#Go to the next character

Set Field [CharCount, Calculation: CharCount+1]

End Loop


  • Author
  • Newbies

Thanks for the suggestion--it's just what I needed.

Create an account or sign in to comment

Important Information

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

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.