Jump to content

Define accounts and priviliges button


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

Recommended Posts

Hi to all hope you are keeping well,

using fm7 developing for mac only.

Im try just as a nice touch on my admin layout to have a button that automatically opens up the account and privilege window instead of the admin user going to file - define - accounts and privilige .

Thanks for looking and hints suggestion or shout at my obvious noobiesness welcome....

d

smile.gif

Link to comment
Share on other sites

thanks for the input h20 ,

However i seem to be getting a - 10000 error i tried putting it like this

tell application "FileMaker Pro"

activate

do menu menu item 4 of menu 8 of menu 2

end tell

even if i take away the tell application lines it wont work

I am also doing this as admin so its not a permission error i dont think?

Thanks again

D

Link to comment
Share on other sites

>> However i seem to be getting a - 10000 error

Indeed. Since all menu items are disabled while a ScriptMaker script is running, you cannot use the Do Menu event to select menu items when running your script using the Perform AppleScript ScriptMaker step.

You have to create an application with fellow script

tell application "FileMaker Pro"

	activate

	do menu menu item 4 of menu 8 of menu 2

end tell

quit

and activate it within a "send message" Scriptmaker step.

Sorry for the mistake.

Link to comment
Share on other sites

This topic is 7001 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.