Title: Re: Finding path to misfiled messages
On 3/10/06 22:38, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:

> From: Scott Haneda <[EMAIL PROTECTED]>
>
>>> The 'missing' messages show up when she does a Find, but getting the name of
>>> the enclosing folder doesn't help -  we need the full path. Is there a way
>>> to
>>> get this, perhaps with a script?
>>
>> You can turn on the header "folder" by control clicking on the top header of
>> the find window above the first message in the results, this will tell you
>> the folder the messages are in.
>
> Sorry, I probably didn't put that clearly. Since the messages were likely
> moved along with their enclosing folder(s), just knowing what that is, doesn't
> help us locate them. We need to figure out the full path so we can drill down
> the structure and put them back in their orignal location.
>
> Cheers,
> Lars

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 Wainwright
Microsoft MVP (see http://mvp.support.microsoft.com for details)
Check out the Entourage User's WebLog for hints, tips and troubleshooting
<http://homepage.mac.com/barryw/weblog/weblog.html>

Reply via email to