Re: Why is System Events Badly Crippled?
Re: Why is System Events Badly Crippled?
- Subject: Re: Why is System Events Badly Crippled?
- From: Luther Fuller <email@hidden>
- Date: Sun, 08 Jul 2012 10:07:52 -0500
On Jul 8, 2012, at 9:47 AM, Jonathan Levi wrote:
Thank you -- but in my script with my OS, changing "Mail.app" to "Mail" doesn't change the empty result.
First, you should experiment. With Mail activated, run this ...
tell application "System Events" set nameList to (name of every process) end tell set AppleScript's text item delimiters to {return} nameList as text
You will get a list of process names. Is one of these names "Mail" or "Mail.app" ?
On my system, 10.6.8, I get "Mail".
(I also saw some names that probably should not be there, so I now have to search for some garbage in my system. #$%!)
|
_______________________________________________
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