Simple script doesn't work
Simple script doesn't work
- Subject: Simple script doesn't work
- From: Leonid Bogdanov <email@hidden>
- Date: Mon, 16 May 2011 12:38:58 +0400
Hello!
I'm curious why the following script throws an error during execution:
tell application "System Events"
set brwsrs to every process whose bundle identifier is in {"com.apple.safari", "com.google.chrome"}
return brwsrs
end tell
The error is "Can't make {"com.apple.safari", "com.google.chrome"} into type reference"
Thanks in advance.
_______________________________________________
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