Jump to content
Sign in to follow this  
HALBURN

How can I assign my own keyboard shortcut to a script?

Recommended Posts

I would like to execute my own custom find script when a user types "Command f".

 

I have created a custom menu to prevent the user from being able to enter the normal find mode but I cannot figure out how to add my scripts to a menu with keyboard shortcuts.

 

Any help would be greatly appreciated.

 

Thanks.

Share this post


Link to post
Share on other sites

There is a possibility to add a keyboard shortcut to Perform Find in the Custom Menu. If you go to:

 

Tools > Custom Menus > Manage Custom Menus > your created Custom Menu set and > Edit > Requests > Edit > Perform Find   

 

you should be able to see the tick box on the right hand side reading "Keyboard Shortcut" where you could place designated shortcut (if not already reserved), and also a tickbox reading "Action" where you can implement your script.

  • Like 1

Share this post


Link to post
Share on other sites

Thank you, that worked. I had not used the custom menu feature before and I was trying to set the keyboard shortcut in the wrong place.

Share this post


Link to post
Share on other sites

Yes, you are able to override (some) existing FileMaker keyboard shortcuts. When do you it, I strongly recommend that you create your custom menu item based on the item you are replacing, rather than simply removing the item you replace and creating a new one with the same shortcut. This way, any alternate name for the item you come up with will also be used for the corresponding toolbar icon.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

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