Monday, November 08, 2010 at 12:01 AM.
system.verbs.apps.Eudora.examples.boxLoop
on boxLoop (boxName) { <<an example to show how to loop over all the messages in the In box <<we just display the subject of each message in Frontier's main window with objectmodel, Eudora, eventInfo { local (mailboxObj = mailfolder [""].mailbox [boxName]); local (msgcount = Eudora.countMessages (mailboxObj)); local (i); for i = 1 to msgcount { local (x = mailboxObj.message [i]); try { msg (Eudora.getMessageSubject (x))} else { msg ("¥¥¥ERROR¥¥¥")}}}}
This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.