• 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: Refreshing itunes selection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Refreshing itunes selection


  • Subject: Re: Refreshing itunes selection
  • From: Lewis Butler <email@hidden>
  • Date: Mon, 26 May 2003 09:10:36 -0600

On Sunday, May 25, 2003, at 21:12 Canada/Mountain, Lewis Butler wrote:

This is better as it only brings itunes to the foreground once for each song instead of every 5 seconds:

on idle
tell application "iTunes"
set curr_sel to selection
set curr_play to {current track}
if curr_sel is not equal to curr_play then
tell application "iTunes" to activate
tell application "System Events"
keystroke "l" with command down
delay 5
end tell
end if
end tell
end idle

--
In other news, Gandalf died. -- Secret Diary of Boromir
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Refreshing itunes selection (From: Lewis Butler <email@hidden>)

  • Prev by Date: Re: Refreshing itunes selection
  • Next by Date: Tex-Edit: select to EOF?
  • Previous by thread: Re: Refreshing itunes selection
  • Next by thread: Scripting Palm Desktop export?
  • Index(es):
    • Date
    • Thread