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: "M. Rove" <email@hidden>
- Date: Mon, 19 Jan 2009 08:33:57 -0800 (PST)
Try this:
if(played date of orig_track = "") then
set played_date_val to played date of orig_track
set played date of new_track to played_date_va;
end if
--- On Mon, 1/19/09, Paul Taylor <email@hidden> wrote:
> From: Paul Taylor <email@hidden>
> Subject: How do you test if a property is empty
> To: email@hidden
> Date: Monday, January 19, 2009, 8:17 AM
> 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)
>
> if(played date of orig_track is not empty)
> set played_date_val to played date of orig_track
> set played date of new_track to played_date_va;
> end if
>
>
>
> _______________________________________________
> 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
_______________________________________________
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