Re: iTunes doesn't handle dates well
Re: iTunes doesn't handle dates well
- Subject: Re: iTunes doesn't handle dates well
- From: Emmanuel <email@hidden>
- Date: Wed, 13 Dec 2006 14:08:46 +0100
At 9:33 PM -0800 12/12/06, David Richmond wrote:
Here's the script:
---
tell application "iTunes"
set t to current date
log year of t
end tell
[...]
Why does iTunes choke on the year of a date? Is this just a bug?
Probably something like a terminology conflict, and a conflict which
recalls the advice to restrict to the strict minimum the number of
lines inside a tell statement. For those two instructions (current
date, then year of ...) you don't need to be in a tell iTunes wrapper
at all.
Emmanuel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users
This email sent to email@hidden