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

Re: current email in Eudora


  • Subject: Re: current email in Eudora
  • From: Rob Jorgensen <email@hidden>
  • Date: Fri, 3 Aug 2001 15:17:16 -0400

On 8/3/01, John, Mitchell commented:

dear all

Using Eudora Pro 5.1 I want to automate making an appointment into NowUpToDate 3.9

I want to select a piece of text in the body of the email and then edit that text to create an appt in NUTD. The latter part is fine - I can parse the line and create the date etc. What I cannot do is get the "From" field out of the email message (window 1) - ie from the current window its easy to get the "selected text" but I cannot work out a way to identify the "current" message of that window.

I can get all the properties of a message but i have to use "message 1 of mailbox 1 of mail folder 0" and it don't know what index applies for the message open at the time

and I don't want to make a huge dialog of every mailbox, folder names with each of their messages etc

any suggestions

message 0 refers to the front or selected message. It appears that if more than message is selected in a mailbox, Eudora will work on the first message (very little testing done on this theory).

tell application "Eudora"
set fromField to field "From" of message 0
set fromField to items 7 thru -1 of fromField as string
end tell

You can/probably should obtain the (unique) message ID which is assigned by Eudora and use it to refer to the message throughout the rest of the script. Using the ID can help to avoid problems in the event that a user selects a different message before the script is finished.

tell application "Eudora"
set messID to id of message 0
set fromField to field "From" of message id messID
set fromField to items 7 thru -1 of fromField as string
end tell


Later,

Rob Jorgensen
Ohio, USA


  • Follow-Ups:
    • Re: current email in Eudora
      • From: Bill Briggs <email@hidden>
References: 
 >current email in Eudora (From: "John, Mitchell" <email@hidden>)

  • Prev by Date: Setting Print Prefernces in Quark
  • Next by Date: Re: Script Applet rejects first handler call
  • Previous by thread: current email in Eudora
  • Next by thread: Re: current email in Eudora
  • Index(es):
    • Date
    • Thread