Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'A script to show the folder for any Entourage message' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A script to show the folder for any Entourage message
Authored by: roncross@cox.net on Aug 17, '05 01:33:56PM

I updated the script to throw an error if the message is being composed are if you are replying to a message.

tell application "Microsoft Entourage"
activate
try
set myfoldername to name of storage of displayed message of front window
display dialog "the message is in folder" & " " & "'" & myfoldername & "'" giving up after 1.5
on error number error_number
if the error_number is -128 then error number -128
display dialog "This message is not contained in a folder"
end try
end tell

---
rlc



[ Reply to This | # ]