Re: Refreshing itunes selection
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.