Re: New iTunes Track
Re: New iTunes Track
- Subject: Re: New iTunes Track
- From: Greg Townsend <email@hidden>
- Date: Tue, 24 Feb 2004 20:47:13 -0500
Thanks for the idea. Although it would work in most circumstances, it
wouldn't work if the track was paused or cut short to skip to the next
track.
Greg
On Feb 24, 2004, at 8:03 PM, Dave Balderstone wrote:
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.
_______________________________________________
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.