Re: date:missing value in Snow Leopard
Re: date:missing value in Snow Leopard
- Subject: Re: date:missing value in Snow Leopard
- From: Shane Stanley <email@hidden>
- Date: Tue, 12 Jan 2010 09:22:18 +1100
- Thread-topic: date:missing value in Snow Leopard
On 12/1/10 9:00 AM, "Gmeiner Jobst" <email@hidden> wrote:
> The script:
>
> tell application "Address Book"
> set NamenX to (name of people whose birth date is not missing value)
> end tell
>
> worked fine in 10.5.8 but does not in 10.6.2 although the property 'birth day'
> is 'missing value' when empty.
Who knows why. Unless you store your ancestors in your Address Book,
something like this might be a suitable workaround:
tell application "Address Book"
set NamenX to (name of people whose birth date > date "Saturday, January
1, 1600 12:00:00 AM")
end tell
--
Shane Stanley <email@hidden>
AppleScript Pro, April 2010, Florida <http://www.applescriptpro.com>
_______________________________________________
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