Re: newbe - Making iTunes Browser Window active
Re: newbe - Making iTunes Browser Window active
- Subject: Re: newbe - Making iTunes Browser Window active
- From: kai <email@hidden>
- Date: Thu, 19 Oct 2006 00:16:05 +0100
On 18 Oct 2006, at 23:44, Jon Pugh wrote:
At 3:13 PM -0700 10/18/06, David Alter wrote:
Any ideas?
Best I can do is:
tell application "iTunes"
activate
close (windows whose name ‚ "iTunes")
set visuals enabled to true
end tell
Looks like the list server mangled the 'is not equal to' operator:
close (windows whose name is not "iTunes")
Another option might be:
----------------
tell application "iTunes"
activate
if front window's class is not browser window then ¬
tell application "System Events" to keystroke "1" using command down
set visuals enabled to true
end tell
----------------
---
kai
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden