• 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
10.6 Address Book no longer loads Birth Day additions?!?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

10.6 Address Book no longer loads Birth Day additions?!?


  • Subject: 10.6 Address Book no longer loads Birth Day additions?!?
  • From: Jakob Peterhänsel <email@hidden>
  • Date: Sat, 28 Nov 2009 00:29:06 +0100

Hi All,

Seems like the scripts that add functionality to the Birthday field in Address Book in 10.6 no longer works.
A plain script does not work and the few plugins/bundles on the net (like Age.bundle) does not load. Any ideas?

This script used to work in 10.5.8:

using terms from application "Address Book"
on action property
return "birth date"
end action property


on action title for p with e
set monthnow to (month of (current date) as number)
set daynow to (day of (current date) as number)
set monthcheck to ((month of e) as number)
set daycheck to ((day of e) as number)
if monthnow < monthcheck then
return (first name of p) & " is " & ¬
(((year of (current date)) - (year of e) - 1) ¬
as string) & " years old"
else
if monthnow = monthcheck then
if daynow < daycheck then
return (first name of p) & " is " & ¬
(((year of (current date)) - (year of e) - 1) ¬
as string) & " years old"
end if
end if
return (first name of p) & " is " & ¬
(((year of (current date)) - (year of e)) ¬
as string) & " years old"
end if
end action title


on should enable action for p with e
return true
end should enable action


end using terms from





-- 

    Jakob Peterhänsel

"Be a part of the Love Generation - carry a smile, not a gun."
- JP, May 2006


AIM:         Marook
Phone:     +45 30787715

 _______________________________________________
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

  • Prev by Date: Re: Very slow Applescript operation in iWork Numbers 09
  • Next by Date: skype api protocol documentation in downloadable format?
  • Previous by thread: [ANN] ModuleLoader 2.0
  • Next by thread: skype api protocol documentation in downloadable format?
  • Index(es):
    • Date
    • Thread