Philip Sharman
08-14-2003, 09:16 PM
I've seen a number of sample scripts using "get duration", but it doesn't work for me.
For example:
tell application "iTunes"
get duration of current track
end tell
gives me a "missing value" error. This is using iTunes 4.0.1. I don't see 'duration' listed as a track property in the iTunes directory, so I'm guessing something changed with version 4. Is there a workaround?
Thanks,
Philip.
For example:
tell application "iTunes"
get duration of current track
end tell
gives me a "missing value" error. This is using iTunes 4.0.1. I don't see 'duration' listed as a track property in the iTunes directory, so I'm guessing something changed with version 4. Is there a workaround?
Thanks,
Philip.