• 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 bug
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Address Book bug


  • Subject: Re: Address Book bug
  • From: Paul Berkowitz <email@hidden>
  • Date: Fri, 20 Jan 2006 19:02:19 -0800
  • Thread-topic: Address Book bug

Title: Re: Address Book bug
You were doing something wrong, sort of. (You'd also find it easier to follow threads on this mailing list if you'd reply using the Reply button - I suppose you need to Reply to All and then remove the individual recipient since you're not using an advanced email client like Entourage that can Reply directly to the list - and then sort messages by Subject. I already gave you the solution in a previous email.)

You need to

tell application "Address Book"
    tell person 1
        make new custom date at end of custom dates with properties {label:"Mod Date", value:ABmoddate}
    end tell
end tell



Before Tiger (or some Panther upgrade), you had to do this for every new element in every Cocoa app. Supposedly, according to Chris Nebel, this was "fixed" in Panther (others say Tiger). But I think it was only "fixed" in the sense that Cocoa application developers were now free not to require "at the end of" (or beginning of). That doesn't mean they actually used the new facility or made changes, and certainly not for every class of elements. Address Book is pretty good, by and large, but they didn't change the implementation for custom dates of person. You still need 'at the end of custom dates' even in Tiger. So I guess you can still consider it a bug if you wish, but there is a solution, and it's the solution that has worked for all elements in Address Book since the beginning of its scriptability in Jaguar. I just stick with 'at the end of' to avoid these problems.


--
Paul Berkowitz



From: Rob Lewis <email@hidden>
Date: Fri, 20 Jan 2006 18:41:56 -0800
To: <email@hidden>
Subject: Address Book bug

Thanks; as an ignorant scripter I thought I may have been doing something wrong. Seconds before I got your answer I re-posted the problem to this list and filed a bug report with Apple. Please ignore my re-posting, sorry. 

On Jan 20, 2006, at 6:37 PM, email@hidden wrote:


On Jan 20, 2006, at 12:52 PM, Rob Lewis wrote:



 
Excellent. Now for what I think is the last problem: the following  


line gives an internal script error:



 

make new custom date with properties {label:"Mod Date",  


value:ABmoddate}


 

I don't know; I can't get it to work either.



 

-- Michelle



 



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

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:

This email sent to email@hidden

References: 
 >Address Book bug (From: Rob Lewis <email@hidden>)

  • Prev by Date: Address Book bug
  • Next by Date: Re: Address Book: why doesn't this work?
  • Previous by thread: Address Book bug
  • Next by thread: Re: Address Book bug
  • Index(es):
    • Date
    • Thread