• 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: Basic Eudora Question: Make New Mailbox (Applescript-users Digest, Vol 2, Issue 569)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Basic Eudora Question: Make New Mailbox (Applescript-users Digest, Vol 2, Issue 569)


  • Subject: Re: Basic Eudora Question: Make New Mailbox (Applescript-users Digest, Vol 2, Issue 569)
  • From: Jonathan Levi MD <email@hidden>
  • Date: Mon, 29 Aug 2005 23:00:23 -0400

At Sun, 28 Aug 2005 14:59:56 -0600, Doug McNutt <email@hidden> wrote:
If you tell Eudora to open a mailbox that you created while Eudora was running it will add it to the openable mailboxes list and the Mailboxes window. It doesn't even need to be in Eudora's Mail folder.

I didn't find that. I duplicated a mailbox "temp" (shorter than In, contains only 1 message), edited (shortened) it with MPW Shell, then opened it with Eudora (actually, I did these things twice: first, opening with Eudora's "Open" menu item, then (after further changes using MPW) by double-clicking it). In both cases, Eudora opened it (putting up the "Rebuild table of contents?" dialog that you mention below) but did not add it to the list of mailboxes in the Mailbox menu.


Consider asking Finder to duplicate an existing Eudora mailbox, "In" for instance...Eudora will ask if you want to rebuild the table of contents for all of these hacks. I donno how you can avoid that dialog box.

Didn't have to: I scripted around it by noting that the (modal) dialog you mention is nameless; hence I screened for and handled it (as well as the subsequent window reporting statistics) with the following:


  tell application "System Events" to tell process "Eudora"
    set frontmost to true

    --Handle modal windows if they exist
    delay 1
    if (count windows) > ¬
      (count name of windows) then --i.e., there's a modal window
      keystroke return --dismiss it
      delay 1 --wait for next modal
      keystroke return --dismiss it, too
    end if

    --[Remaining commands from this tell block omitted]
  end tell --System Events

Jonathan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Basic Eudora Question: Make New Mailbox
      • From: Doug McNutt <email@hidden>
  • Prev by Date: Re: Clipboard and Entourage
  • Next by Date: Re: A Yummy (_Not_) Bug: Gremlin is Rewriting my GUI-Scripting
  • Previous by thread: Re: keyboard shortcut for apple menu?
  • Next by thread: Re: Basic Eudora Question: Make New Mailbox
  • Index(es):
    • Date
    • Thread