Re: Address Book bugs
Re: Address Book bugs
- Subject: Re: Address Book bugs
- From: Shane Stanley <email@hidden>
- Date: Tue, 02 Mar 2010 09:13:45 +1100
- Thread-topic: Address Book bugs
On 2/3/10 8:24 AM, "Rob Lewis" <email@hidden> wrote:
> I just tried this, which works:
>
> creation date of person 1
>
> Then I tried this, which doesn't:
>
> date string of creation date of person 1
>
> It throws this error:
> CanĀ¹t make date string of creation date of person 1 into type specifier."
> number -1700 from date string of creation date of person 1 to specifier
>
>
> However, this works fine:
> date string of (current date)
>
> Go figure.
You can only get the date string of a date. So "date string of current date"
fails -- you need the parentheses to force evaluation of current date first.
In your earlier example you also need to get the date first:
date string of (get creation date of person 1)
--
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