Re: Why is System Events Badly Crippled?
Re: Why is System Events Badly Crippled?
- Subject: Re: Why is System Events Badly Crippled?
- From: Jonathan Levi <email@hidden>
- Date: Sun, 08 Jul 2012 10:47:02 -0400 (EDT)
Thank you -- but in my script with my OS, changing "Mail.app" to "Mail" doesn't change the empty result.
Jonathan
-----Original Message-----
From: Michelle Steiner <email@hidden>
To: Applescript Users <email@hidden>
Sent: Sun, Jul 8, 2012 10:41 am
Subject: Re: Why is System Events Badly Crippled?
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