• 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: Getting birth date values...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting birth date values...


  • Subject: Re: Getting birth date values...
  • From: Martin Michel <email@hidden>
  • Date: Wed, 11 Sep 2002 19:25:46 +0200

Hi,


thank you very much for your detailed answer, I appreciate your efforts. Now I feel a lot better as I know that it is not an individual problem, on the other side I am quite sad that I cannot automate the process of creating a birthday calender in iCal by now. Well, that gives me time reading :-)

With my best wishes,

Martin


Am Mittwoch, 11.09.02, um 18:50 Uhr (Europe/Berlin) schrieb Paul Berkowitz:

On 9/11/02 9:08 AM, "Martin Michel" <email@hidden> wrote:

Hi,

I try to receive birth date values from the Address Book with
AppleScript, but all I get is company names...

This is my script:

tell application "Address Book"
set the_people to people

repeat with the_mad_scientist in the_people
try
set the_sausage to birth date of the_mad_scientist
on error
beep
end try
end repeat
end tell


I have to say that I use german language on my Mac OS X 10.2.

Has anybody the same problem?


Yes. It's a bug. You can't get or set birth date in AppleScript. You just
get the organization if you try - if it exists - otherwise you get the
name.

Here's another one:

You can get and set AIM Handle if you have already created one in the UI
(and it's a little tricky: you have to get 'value of first AIM Handle'
without setting the AIM Handle itself to a variable or all you get is
'application "Address Book" - another bug), but you can't actually make an
AIM Handle by AppleScript.

Here's another one:

You can set and get nickname, title and suffix by AppleScript, but it
doesn't do anything in the UI since they don't exist there.

Here's another one:

You can't get or set MSN Handle, Jabber handle, etc, which don't exist
anyway although they're in the dictionary.

Here's another one:

You can't get or set middle name, which doesn't exist.

Aside from all that, it's working pretty well ;-), if you remember to 'make
new [element] at end of [elements]' (or beginning) every time you need to
create a new element of an object.

--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Getting birth date values... (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: Translating Quoted Printable
  • Next by Date: Re: Display dialog frontmost?
  • Previous by thread: Re: Getting birth date values...
  • Next by thread: RE: A disturbing trend
  • Index(es):
    • Date
    • Thread