Address Book scripting bug
Address Book scripting bug
- Subject: Address Book scripting bug
- From: Michelle Steiner <email@hidden>
- Date: Thu, 27 May 2004 09:45:56 -0700
I just reported the following bug to Apple:
The applscript expression "date string of creation date of person 1"
results in "NSCannotCreateScriptCommandError"
However, the following works:
set foo to (creation date of person 1)
date string of foo
This means that you can't have this construct:
tell Application "Address Book"
set TodaysPeople to the people whose (date string of creation date)
is date string of (current date)
end tell
-- Michelle
--
Velveeta is to American cheese as American cheese is to cheese
_______________________________________________
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.