AppleScript your FileMaker Pro Advanced Menus

by Michael Gaslowitz

The Data Viewer and the Script Debugger are staples in every FileMaker developer’s toolkit, yet there is no built-in keyboard shortcut or script step for either one of them. With four lines of AppleScript, these menus are now within reach:

tell application "FileMaker Pro Advanced"
     activate
     do menu menu item "Data Viewer" of menu "Tools"
end tell
tell application "FileMaker Pro Advanced"
     activate
     do menu menu item "Script Debugger" of menu "Tools"
end tell

To install, we could copy/paste these scripts into a Custom Menu that uses the Perform AppleScript script step (and of course a keyboard shortcut), but that would require us to do that for every database file we create. A better option would be to use a system-wide keyboard shortcut application like Quicksilver, FastScripts, or the built-in Keyboard System Preference.

If you run into problems, make sure your computer is configured properly.

Download the AppleScripts

January 31, 2009  •  AppleScript, FileMaker, Toolkit  •  2 Comments

2 Responses to “AppleScript your FileMaker Pro Advanced Menus”

  1. Matt on February 4th, 2009 5:25 am

    You can actually do this without the applescript, just use the Keyboard System Preference to assign the menu command to a key combination of your choosing.

  2. Michael Gaslowitz on February 6th, 2009 11:25 am

    Thanks for the comment Matt, this makes it even easier. I would like to add that FileMaker requires you to include the Command Key in your keyboard shortcut.