Re: How do you test if a property is empty
Re: How do you test if a property is empty
- Subject: Re: How do you test if a property is empty
- From: Ed Stockly <email@hidden>
- Date: Fri, 20 Feb 2009 08:13:31 -0800
>>if(played date of orig_track is not empty)
Empty doesn't work in this case. You want missing value
Try this instead:
tell application "iTunes"
set orig_track to current track
if (played date of orig_track is not missing value) then
set played_date_val to played date of orig_track
set played date of new_track to played_date_val
end if
end tell
hth,
ES
_______________________________________________
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/archives/applescript-users
This email sent to email@hidden