• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Address Book bugs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Address Book bugs
      • From: Michelle Steiner <email@hidden>
References: 
 >Re: Address Book bugs (From: Rob Lewis <email@hidden>)

  • Prev by Date: Re: Coercing Numbers
  • Next by Date: Re: Address Book bugs
  • Previous by thread: Re: Address Book bugs
  • Next by thread: Re: Address Book bugs
  • Index(es):
    • Date
    • Thread