• 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
FYI: Scripting Eudora To Make a New Mailbox
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: Scripting Eudora To Make a New Mailbox


  • Subject: FYI: Scripting Eudora To Make a New Mailbox
  • From: "Jonathan Levi, M.D." <email@hidden>
  • Date: Wed, 28 Feb 2007 13:58:44 -0500

Hi,

A long time ago I got help from members of this list on scripting Eudora to make a new mailbox. Recently, I've revisited this question and concluded that in this case, UI-scripting is a faster and more transparent way to go. FWIW, I'm including a subroutine for this:

-- subroutine MakeNewMailbox() for Eudora. J. Levi 2/28/2007. For OS X Tiger
on MakeNewMailbox(mbName)
  tell application "Eudora"
    if not (exists mailbox mbName) then
      activate
      tell application "System Events" to tell process "Eudora"
        click menu item "New..." of menu "Mailbox" of ¬
          menu bar item "Mailbox" of menu bar 1
        repeat until exists window "New Mailbox"
        end repeat
        keystroke (mbName & return) --may not have MB icon until next reboot
      end tell -- proc. Eudora
    end if --exists mailboxŠ
    return file of mailbox mbName
  end tell --Eudora
end MakeNewMailbox
--------------------------------------------------------------

--Jonathan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
  • Prev by Date: Filemaker waiting for AS
  • Next by Date: (no subject)
  • Previous by thread: Re: Filemaker waiting for AS
  • Next by thread: (no subject)
  • Index(es):
    • Date
    • Thread