Re: New iTunes Track
Re: New iTunes Track
- Subject: Re: New iTunes Track
- From: Dave Balderstone <email@hidden>
- Date: Tue, 24 Feb 2004 19:03:03 -0600
On 24-Feb-04, at 5:55 PM, Greg Townsend wrote:
Is there a way to use AS to determine when the track playing in iTunes
changes? I know you can use an idle handler, but I'd rather not have
to poll iTunes any more than is necessary, and I'd also like to know
when the track changes. Thanks.
I've done ZERO scripting of iTunes, but looking at the dictionary...
What if you got the duration of the current track and used that value
to time the check for track name to see if it has changed?
If you launched the script before starting the track, you could use a
handler to detect when the first track started playing and base your
timing on that so you could keep it fairly accurate.
djb
_______________________________________________
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.