Re: scripting Eudora
Re: scripting Eudora
- Subject: Re: scripting Eudora
- From: John Delacour <email@hidden>
- Date: Thu, 3 Oct 2002 09:55:02 +0100
At 8:16 pm -0400 2/10/02, Hudson Barton wrote:
why doesn't this script work?
tell application "Eudora"
make new nickname at end of nickname file "customers"
end tell
Because you need to supply the value for the nickname property as initial data.
tell app "Eudora"
set {nnn, nnf} to {"Jo_Morley", "test"}
if not (exists nickname nnn in nickname file nnf) then
set nn to make nickname at end of nickname file nnf with data nnn
end
set nn to a reference to nickname nnn in nickname file nnf
tell nn
set its field "name" to "Jo Morley"
set its field "first" to "Jo"
set its field "last" to "Morley"
set its addresses to "email@hidden, email@hidden"
set its recipient to true
get its raw notes
end
end
If you get any crashes with nicknames, please send me the crash logs.
JD
_______________________________________________
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.