• 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: scripting Eudora
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >scripting Eudora (From: Hudson Barton <email@hidden>)

  • Prev by Date: Re: [OT] BBC (was Re: Lookalikes...)
  • Next by Date: Unwanted formatting information
  • Previous by thread: scripting Eudora
  • Next by thread: Unwanted formatting information
  • Index(es):
    • Date
    • Thread