• 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: Creating a new contact in Palm Desktop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Creating a new contact in Palm Desktop (From: Drew Fiero <email@hidden>)

  • Prev by Date: Re: OS 9.1 & RA Status (Please try this)
  • Next by Date: Re: Applescript for the Internet
  • Previous by thread: Creating a new contact in Palm Desktop
  • Next by thread: Moving the files!!!!!!!!!!!!
  • Index(es):
    • Date
    • Thread