• 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 AppleScript Question...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Eudora AppleScript Question...


  • Subject: Re: Eudora AppleScript Question...
  • From: David Crowe <email@hidden>
  • Date: Fri, 24 Oct 2003 10:48:45 -0600

Bill;

I've tried this and it doesn't work for me because I want "message 1" (the frontmost open message) not the last message of mailbox "In".


tell application "Eudora"
set mRef to a reference to last message of mailbox "In"
move mRef to end of mailbox "Trash"
open mRef
end tell

If I read my messages from newest to oldest this would work, but what I want is the oldest unread message, usually somewhere in the middle of the "In" mailbox.

If you substitute "message 1" for "last message of mailbox "In"" below, the "open mRef" fails because "message 1" no longer exists.

So, unless someone comes up with something clever, I'm going to have to script a scan of the mailbox.

- David Crowe
_______________________________________________
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 AppleScript Question...
      • From: Christopher Stone <email@hidden>
    • Re: Eudora AppleScript Question...
      • From: Bill Briggs <email@hidden>
References: 
 >Eudora AppleScript Question... (From: David Crowe <email@hidden>)
 >Re: Eudora AppleScript Question... (From: Bill Briggs <email@hidden>)

  • Prev by Date: Re: Odd & Even Pages
  • Next by Date: Re: Quark 5.01 scripting syntax
  • Previous by thread: Re: Eudora AppleScript Question...
  • Next by thread: Re: Eudora AppleScript Question...
  • Index(es):
    • Date
    • Thread