Re: Script for Eudora
Re: Script for Eudora
- Subject: Re: Script for Eudora
- From: Hudson Barton <email@hidden>
- Date: Sat, 1 Mar 2003 12:34:05 -0500
>
John,
>
>
I wonder whether you are aware of any scripts for Eudora that
>
dissect its address book, perhaps reading and writing data to/from
>
specific fields.
>
>
H.
To be more specific, the following sample script which was found on
your website crashes Eudora (v.5.2 on OSX) at least half the time,
and always fails to put all the data into the fields (it does handle
some of it sometimes).
Thanks,
H.
tell application "Eudora"
activate
set nnFile to a reference to nickname file "Eudora Nicknames"
open window "Address Book"
set nn to make nickname at end of nnFile with data "Frank_Fish"
tell nn
set field "name" to "Frank Fish"
set field "address" to "999, Letsby Avenue,
Grimsby"
set field "phone" to "01202 020202"
set field "fax" to "01202 121212"
set addresses to "email@hidden"
set field "cell phone" to "0777 654321"
set field "birthday" to "5 March"
set field "web site" to "
http://www.fish.net/~frank/"
set recipient to true
display dialog ,
"Web site..." default answer ,
(get field "web site") buttons ,
{""} giving up after 1
display dialog ,
"Birthday..." default answer ,
(get field "birthday") buttons ,
{""} giving up after 1
display dialog ,
"Cell phone..." default answer ,
(get field "cell phone") buttons ,
{""} giving up after 1
end tell
end tell
_______________________________________________
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.