• 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: newbe - Making iTunes Browser Window active
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: newbe - Making iTunes Browser Window active
      • From: Paul Berkowitz <email@hidden>
References: 
 >newbe - Making iTunes Browser Window active (From: David Alter <email@hidden>)
 >Re: newbe - Making iTunes Browser Window active (From: Jon Pugh <email@hidden>)
 >Re: newbe - Making iTunes Browser Window active (From: David Alter <email@hidden>)
 >Re: newbe - Making iTunes Browser Window active (From: Jon Pugh <email@hidden>)
 >Re: newbe - Making iTunes Browser Window active (From: David Alter <email@hidden>)
 >Re: newbe - Making iTunes Browser Window active (From: Jon Pugh <email@hidden>)

  • Prev by Date: Re: Move files to the right folder.
  • Next by Date: Smile error
  • Previous by thread: Re: newbe - Making iTunes Browser Window active
  • Next by thread: Re: newbe - Making iTunes Browser Window active
  • Index(es):
    • Date
    • Thread