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: Paul Taylor <email@hidden>
- Date: Mon, 19 Jan 2009 16:35:28 +0000
Luther Fuller wrote:
On Jan 19, 2009, at 10:17 AM, Paul Taylor wrote:
Hi how do you test if a property is empty, Im trying to copy a value
from one object to another but its fail if the property has not been
set in the original object , Ive tried variuos checks such as is
empty, !=, is missing and none of them have worked
(or compiled in most cases)
Are we dealing with a property RECORD here?
Sorry I dont know Im a novice, Im looking at properties of a track
object within iTunes
the played date field is of type date, just checking with
if (played date of orig_track is not "")
doesnt work because its never equal to this whether it has a value or
not, whereas it does work for EQ
which is defined as Unicode text
if (EQ of orig_track is not "")
paul
_______________________________________________
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