• 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: "John, Mitchell" <email@hidden>
  • Date: Mon, 6 Aug 2001 10:11:32 +0200

Dear all

brilliant - works well - tks for help!

At 22:05 -0700 3/8/01, email@hidden wrote:

Message: 3
Date: Fri, 3 Aug 2001 19:17:33 -0300
To: Rob Jorgensen <email@hidden>, AppleScript Users List
<email@hidden>
From: Bill Briggs <email@hidden>
Subject: Re: current email in Eudora

At 3:17 PM -0400 03/08/01, Rob Jorgensen wrote:
On 8/3/01, John, Mitchell commented:
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. ..
>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

It's even easier than that. You can directly address the front
window as the "front window". It doesn't matter how many you've got
selected in the mailbox, or how many are open.

tell application "Eudora"
set fromField to field "From" of front message
end tell

John
--
John Mitchell
Email: email@hidden
Office: +36 (1) 437 3623
Mob: +36 20 978 6077


  • Prev by Date: Re: Setting Access privileges
  • Next by Date: Can't get Remote Access Status
  • Previous by thread: Re: current email in Eudora
  • Next by thread: Count, number, length [was Re: Settings backup script]
  • Index(es):
    • Date
    • Thread