Re: Script for Eudora
Re: Script for Eudora
- Subject: Re: Script for Eudora
- From: Hudson Barton <email@hidden>
- Date: Sat, 1 Mar 2003 17:40:06 -0500
>
I see I do mention crashes at my site, but I thought we'd got that
>
fixed. It's a while since I looked at this. I have the crash logs,
>
so I'll report it and ask what's happening.
The following seems to work OK.
tell application "Eudora"
get {nickname, field "name", addresses} of ,
nickname 1 of nickname file 1
if not (exists the nickname "Frank_Fish" in nickname file 1) then
make nickname at end of nickname file 1 with data "Frank_Fish"
else
display dialog "The nickname exists"
end if
tell nickname file 1
tell nickname "Frank_Fish"
set recipient to false
set field "name" to "Frank Fish"
set addresses to "email@hidden"
set field "address" to "MystreetAddress"
set field "City" to "mycity"
set field "State" to "myState"
set field "Country" to "myCountry"
set field "Zip" to "myZip"
set field "phone" to "Myphone"
set field "fax" to "Myfax"
set field "Web" to "mywebsite"
set field "mobile" to "myCellphone"
set field "birthday" to "5 March"
set field "title" to "El Presidente"
set field "Company" to "MyBigBusiness"
end tell
end tell
end tell
I still don't know how to reference the fields under the tab for a
person's work (as opposed to his "home"). Can you help with that one?
thanks,
H.
_______________________________________________
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.