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

Re: Eudora "message 1"


  • Subject: Re: Eudora "message 1"
  • From: Rob Jorgensen <email@hidden>
  • Date: Wed, 28 Jan 2004 12:22:49 -0500

At 9:00 AM -0700 1/28/04, David Crowe wrote:
Thanks for everyone who responded.

In Eudora, "message 0" is the first selected message. If you want to transfer messages then you can repeatedly reference message 0, transfer it, reference message 0 again etc.

Eventually, you'll get an error when all the selected messages have been transfered.

"message 0" is valid syntax, it's the way to refer to a currently selected message, no matter which mailbox it's in.

Correct.


Perhaps you could move them to the beginning or end of the mailbox temporarily, and then message 0 will become another member of the selection.

That's how JD's script (submitted previously) works. When the message is moved to the end of its current mailbox, a complete message reference is obtained and added to a list (ls). You can then work through the list and do what you like to each message, even though it is no longer selected. The script submitted by Chris Stone is very similar.

With messages selected, run the following script and then inspect the result (no harm will be done to the selected messages, other than moving them to the end of their current mailbox and de-selecting them).

tell application "Eudora"
set ls to {}
set w to the name of the front window
try
file of mailbox w
on error
tell me to display dialog "A mailbox summary must be frontmost" with icon 0
return
end try
repeat
try
set end of ls to move message "" to end of mailbox w
on error
exit repeat
end try
end repeat
repeat with m in ls
-- do something to m -- m is a complete message reference
end repeat
ls
end tell

-- Rob

------
This script was sanitized to overcome issues with mangled scripts on lists hosted by Apple.
_______________________________________________
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.
  • Follow-Ups:
    • Re: Eudora "message 1"
      • From: Doug McNutt <email@hidden>
References: 
 >Re: Eudora "message 1" (From: David Crowe <email@hidden>)

  • Prev by Date: Checking Server Connection?
  • Next by Date: Re: Applescript bug? (crash with "do shell script")
  • Previous by thread: Re: Eudora "message 1"
  • Next by thread: Re: Eudora "message 1"
  • Index(es):
    • Date
    • Thread