Tim Rosencrans Posted October 3, 2008 Posted October 3, 2008 I know i can trigger a script from a menu item. Is there a way to trigger a menu item from a script from Filemaker without a plug-in. I assume I could do it with AppleScript, but i hate the ideal of scripting a application from within the application.
Vaughan Posted October 3, 2008 Posted October 3, 2008 FMP 8.5 Advanced has Custom Menus which allow you to attach a script in place of a menu command. To "trigger a menu from a script" you'd just call the script that you've attached to the custom menu.
Tim Rosencrans Posted October 3, 2008 Author Posted October 3, 2008 Thanks but what I need to do is trigger an existing menu Item.
David Jondreau Posted October 3, 2008 Posted October 3, 2008 I'm not sure if there's a "menu item" out there that can't be replicated via a script. Why don't you tell us what the menu item is.
Vaughan Posted October 3, 2008 Posted October 3, 2008 Just about every menu item is a command that has an equivalent scriptmaker step. I don't understand what the problem is....
Tim Rosencrans Posted October 5, 2008 Author Posted October 5, 2008 Thanks guys...NOw that you said it that way its sunk in that I can do it in a script. I was doing some formating of selected text in a text field and just wasn't thinking about the text formating functions I can access when doing a calculation. I have however decided the simplest method as far as the user will be concerned is to us one button and a applescript script to open the text formating dialog. Perhaps thats something they should add to the "open menu item" list.
Recommended Posts
This topic is 5894 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 accountSign in
Already have an account? Sign in here.
Sign In Now