• 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: Why is System Events Badly Crippled?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why is System Events Badly Crippled?


  • Subject: Re: Why is System Events Badly Crippled?
  • From: Michelle Steiner <email@hidden>
  • Date: Sun, 08 Jul 2012 07:40:41 -0700

On Jul 8, 2012, at 7:34 AM, Jonathan Levi wrote:

System Events has been largely unresponsive for months. About the only thing that seems to work is the "keystroke" command. But a simple script like

tell application "Mail" to activate
tell application "System Events" to tell process "Mail.app"
    windows--There's an open window
end tell

get only {}; same if I ask for menu bars.

I get an error saying that there is no such processs as "mail.app"; however, if I delete ".app" from the script, it works properly.

Lion 10.7.4

-- Michelle

-- 
Failure is not an option.  It comes bundled with the software.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Why is System Events Badly Crippled?
      • From: Jonathan Levi <email@hidden>
References: 
 >Why is System Events Badly Crippled? (From: Jonathan Levi <email@hidden>)

  • Prev by Date: Why is System Events Badly Crippled?
  • Next by Date: Re: Why is System Events Badly Crippled?
  • Previous by thread: Why is System Events Badly Crippled?
  • Next by thread: Re: Why is System Events Badly Crippled?
  • Index(es):
    • Date
    • Thread