Best way to monitor iTunes track changes?
Best way to monitor iTunes track changes?
- Subject: Best way to monitor iTunes track changes?
- From: Marc Palmer <email@hidden>
- Date: Fri, 14 Apr 2006 14:06:11 +0100
Hi,
Is there a clean and efficient way to detect track changes in iTunes
from AppleScript? I just want to know when the track changes so that
I can get the track info etc (which is the easy part).
I've had a look at the iTunes API stuff and not found anything the
jumps out at me as a means of getting track change notifications -
aside from pretending to be a visual plugin maybe- and the iTunes
plugin API seems to require native code anyway. I'd like to stay in
AppleScript land if I can, this is just a toy project.
Ideally I'd imagine I could tell iTunes I am interested in events and
have it tell me when the track changes, but I am not sure this is
possible.
The other approach I can see is the ugly one of keeping the
applescript running at all times in a loop, polling iTunes every 60
seconds or so to see if the track has changed. Not the nicest
approach :(
Thanks in advance.
~ ~ ~
Marc Palmer (email@hidden)
AnyWare Ltd. - Consultant
Authorized JIRA reseller, support and solutions provider
http://www.anyware.co.uk/
_______________________________________________
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