Re: Re[2]: Simple script doesn't work
Re: Re[2]: Simple script doesn't work
- Subject: Re: Re[2]: Simple script doesn't work
- From: KOENIG Yvan <email@hidden>
- Date: Mon, 16 May 2011 11:26:36 +0200
tell application "System Events" set brwsrs to {} set maybe to every process whose bundle identifier is "com.apple.safari" if maybe is not {} then copy maybe to end of brwsrs set maybe to every process whose bundle identifier is "com.google.chrome" if maybe is not {} then copy maybe to end of brwsrs return brwsrs end tell
will do the trick if you may have several processes for a given ID.
Yvan KOENIG (VALLAURIS, France) 16 mai 2011 11:26:29
|
_______________________________________________
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