On 10/3/2006 11:04 PM, "Barry Wainwright" wrote:
> Try this script:
> 
> tell application "Microsoft Entourage"
>     set theMessage to item 1 of (get current messages)
>     set theItem to storage of theMessage
>     set containerPath to {subject of theMessage, name of theItem}
>     repeat
>         try
>             set theItem to parent of theItem
>             copy name of theItem to end of containerPath
>         on error
>             exit repeat
>         end try
>     end repeat
>     set AppleScript's text item delimiters to {"/"}
>     set pathList to (reverse of containerPath) as text
>     display dialog "Path to selected message is:" & return & pathList buttons
> {"OK"} default button 1
> end tell
> 
> 
> Save the script as a compiled script & put it in the ŒEntourage Script Menu
> Items¹ folder in your ŒMicrosoft User Data¹ folder. The script can be manually
> run from the menu.

Barry, this is awesome! Not being able to easily see the enclosing folder of
a message in a Custom View has long been a pet peeve of mine.



--
To unsubscribe:
<mailto:[EMAIL PROTECTED]>
archives:
<http://www.mail-archive.com/entourage-talk%40lists.letterrip.com/>
old-archive:
<http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>

Reply via email to