• 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: 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

References: 
 >Why is System Events Badly Crippled? (From: Jonathan Levi <email@hidden>)
 >Re: Why is System Events Badly Crippled? (From: Michelle Steiner <email@hidden>)
 >Re: Why is System Events Badly Crippled? (From: Jonathan Levi <email@hidden>)

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