Re: System Events 1.2 and Error messages
Re: System Events 1.2 and Error messages
- Subject: Re: System Events 1.2 and Error messages
- From: Barbara Mueller <email@hidden>
- Date: Thu, 26 Dec 2002 19:52:14 +0100
There's an 'enabled' property of menu item. Does it not work correctly?
tell menu bar 1
if enabled of menu item "Select All" of menu "Edit" then
click menu item "Select All" of menu "Edit"
say "I have selected everything"
else
say "The menu item is disabled"
end if
end tell
Unfortunately, this is working either.
The scripts stops at the word "enabled" and gives the following error message:
"NSCannotCreateScriptCommandError"
Any other ideas who to solve the problem?
Thank you
Barbara
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.