Re: Creating a new contact in Palm Desktop
Re: Creating a new contact in Palm Desktop
- Subject: Re: Creating a new contact in Palm Desktop
- From: John McAdams <email@hidden>
- Date: Fri, 12 Jan 2001 09:10:10 -0500
>
If anyone is doing this, could you post some sample code for the
>
proper syntax to make a new contact with data in the Palm Desktop
>
app?
>
Credit goes to Joel Jones, University of Illinois:
tell application "Palm Desktop"
create address
set first name of name info of address 0 to "Fred"
set last name of name info of address 0 to "Filter"
set street of address info of primary address of address 0 to
"123 Main"
set formatted number of phone 1 of address 0 to "(217) 352-5944"
set title of phone label of phone 1 of address 0 to "Work"
set primary category of address 0 to object id of category "Consulting"
set comments of address 0 to "created from Apple Script"
show phone 1 of address 0 in window "Contact"
end tell
Works for me.
jmc
--
John McAdams
email@hidden