Jump to content

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


This topic is 2057 days old. Please don't post here. Open a new topic instead.

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.

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

Link to post
Share on other sites

This topic is 2057 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

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