• 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: getting multiple selected messages in Eudora?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getting multiple selected messages in Eudora?


  • Subject: Re: getting multiple selected messages in Eudora?
  • From: John Delacour <email@hidden>
  • Date: Tue, 15 Jul 2003 22:52:07 +0100
  • Mac-eudora-version: 6.0a27

At 8:32 pm -0400 14/7/03, Rob Jorgensen wrote:

See <http://bbs.applescript.net/viewtopic.php?t=4565>.

Rob,

I visited the reformed script and see that you end up working with a list of message ids. What you need is a list of message _references_. That way you're home and dry. A message id is not sufficient to identify a message -- you need the full reference "message id n of mailbox m [of mail folder f][...]".

The id of a message is unique and will not change when you move it, but it is not sufficient as a reference, any more than an item id is sufficient in the Finder without a volume reference.



set _messages to {} -- place holder for selected messages
set _misclist to {} -- place holder for data from messages
tell application "Eudora"
set w to the name of the front window
try -- make sure a mailbox is frontmost...
set _mbx to name of mailbox w
on error e
tell me to display dialog e & "
(A mailbox summary must be frontmost)
" with icon 0 buttons {"OK"} default button 1 giving up after 1
return -- ... and give up if not.
end try
repeat
try
set end of _messages to move message "" to end of mailbox _mbx
-- move it to just where it already is
on error -- error occurs when last message is deselected
exit repeat
end try
end repeat

repeat with _message in _messages
set _message to contents of _message -- not always needed
set end of _misclist to subject of _message
end repeat
_misclist
end tell
_______________________________________________
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: getting multiple selected messages in Eudora?
      • From: Rob Jorgensen <email@hidden>
References: 
 >getting multiple selected messages in Eudora? (From: KLW <email@hidden>)
 >Re: getting multiple selected messages in Eudora? (From: Rob Jorgensen <email@hidden>)

  • Prev by Date: Re: How to delete contents of folder in OS X?
  • Next by Date: Re: getting multiple selected messages in Eudora?
  • Previous by thread: Re: getting multiple selected messages in Eudora?
  • Next by thread: Re: getting multiple selected messages in Eudora?
  • Index(es):
    • Date
    • Thread