On or near 12/4/00 10:38 AM, Robert DeLaurentis at [EMAIL PROTECTED]
observed:
> Hi folks,
>
> I need a little help constructing a script if one of the AppleScript experts
> want to take a crack at it. I would like to be able to highlight one or more
> messages in a folder I have set aside to receive mail caught by the junk
> filter. I want the script to reset the category from Junk to "MF
> Extras/Other," then move the message from the junk folder into a subfolder
> of a subfolder under the inbox. In other words, into Inbox -> Subfolder 1 ->
> Sub-subfolder 1.
>
This should do it:
tell application "Microsoft Entourage" --
set currentMessages to the current messages --
repeat with theMsg in the currentMessages --
my ProcessMsg(theMsg) --
end repeat --
end tell --
on ProcessMsg(theMsg) --
tell application "Microsoft Entourage" --
set temp to the category of theMsg --
copy category "MF Extras/Other" to end of temp --
(* Or, if you want that to be the first category that shows,--
use this version of setting the category list: --
set temp to {category "MF Extras/Other"} & temp
*)
move theMsg to folder "Sub-subfolder 2" of folder "Subfolder 1" of
folder "Inbox" --
end tell --
end ProcessMsg --
Change the folder names to what you actually use.
--
Peace,
Allen Watson <[EMAIL PROTECTED]> XNS name: =Allen Watson
A Mac family since 1984 <http://home.earthlink.net/~allenwatson/>
Applescripts for Outlook Express and Entourage:
<http://homepage.mac.com/allenwatson/>
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
To search the archives:
<http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>