• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: System Events 1.2 and Error messages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: System Events 1.2 and Error messages
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Re: System Events 1.2 and Error messages
  • Next by Date: Re: System Events 1.2 and Error messages
  • Previous by thread: Re: System Events 1.2 and Error messages
  • Next by thread: Re: System Events 1.2 and Error messages
  • Index(es):
    • Date
    • Thread