Problem with Applescript and Spaces (virtual desktops not the character)
Problem with Applescript and Spaces (virtual desktops not the character)
- Subject: Problem with Applescript and Spaces (virtual desktops not the character)
- From: Phil <email@hidden>
- Date: Fri, 7 Dec 2007 19:47:57 -0500
I am having a problem with a simple script and Leopard's Spaces feature:
tell application "Safari" set curTab to (current tab of the front window) end tell
When I execute this when Script Editor and Safari are in the same space, it works as expected. However, when I move Safari to a different space and execute again, I get:
Safari got an error: Can’t get current tab of window 1.
Is this a bug or a feature? If it's a feature, how do I get the current tab of a Safari window in another Spaces desktop?
Thanks, Phil |
_______________________________________________
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