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.

Custom menu trigger via PgUp & PgDn keys?

Featured Replies

My goal is to build a rudimentary game show-style buzzer for a team-based trivia contest.

The simple scripts, which fire some lights and sounds, are mapped to a custom menu set which is running fine with commands like Ctrl-LeftArrow.

I'm hoping to map them to be used with a Kensington slide advancer, which has three keys on it - 'b', 'PgUp' and 'PgDn'. (My plan was just to mutilate two of these slide clickers, so the left team has one that only fires the left arrow button, which is mapped to PgUp.)

I'm just figuring out though that the Edit Custom Menu / Specify Shortcut interface, where I can assign hotkeys, won't recognize the PgUp and PgDn buttons. Don't know why.

Hoping for suggestions to make this workflow function. Probably can't use recommendations for other hardware (because this clicker is the one my workplace has lots of).

  • Author

The solution, for now: Microsoft PowerToys makes it very easy to remap keys, so I've remapped  the PgUp & PgDn keys to be Ctrl+left (right) arrow.

 

That'll ge tme through today, but in the long run, i'd like to know how to get FMP to see those keys natively.

32 minutes ago, Richmilnix said:

how to get FMP to see those keys natively.

You can use the OnLayoutKeystroke script trigger for this. In fact, if all you want is to map keys (or key combinations) to scripts, that should be an easier route than a custom menu. Unless you want to re-assign existing keyboard shortcuts.

To recognize a PageUp keystroke, have your script test for:

Code ( Get ( TriggerKeystroke ) ) = 2

while the code for a PageDown would be 3 (not tested in Windows).

 

Edited by comment

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.