Applescript Entourage: Manuever to specific folder from another application and processing the messa

S

sedgington

Hi,
I am using a program that uses applescript to go to a user-selected
mail message and take out the bits you want and reformat them by
extracting the source and processing it. This is useful for compiling
the myriad daily email messages and putting the links and comments into
an easily readable html page or rss feed. I have adapted the existing
Apple Mail client script to entourage and it works:

----------------------
display dialog "There must be an e-mail selected in Mail.app for this
to work properly."
tell application "Microsoft Entourage"

set theMail to selection
set mySrc to source of (item 1 of theMail)

end tell

-------------------------
What I would like to do is to have the emails I want to process in a
subfolder (lets call it 'Process Now' and then have the applescript
open the subfolder and allow the outside program to process each email
in that folder. Right now I'm moving the emails into that folder and
flagging them, so the ideal would be, once they have been processed,
they would be marked as "read" or moved to another folder called
"processed"

Not coming from an applescript background I looked around on
macscripter.net/scriptbuilders (as well as the usual google searches)
and didn't find a way to call subfolders or process messages.

Could anyone point me in the right direction on what is probably a
trivial thing to do for the initiated?

Thanks in Advance!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top