Title: Re: Looking for folder
On 8/6/05 01:38, "Double Image Studio" <[EMAIL PROTECTED]> wrote:

> Hello all,
>
> I know this is so basic but I can't seem to find the answer anywhere. We
> "lost" a folder. If we do an Advanced Search, we find the messages but not
> the folder.
> How can we find out where those messages are in the "On My Computer?" We
> don't want to make a special folder or special task or view. We want to find
> those errant messages and parent folder.
> Any ideas that would have escaped me?
>
> Thank you, Nicholas.

Well, it's late at night, so somebody is bound to chip in with an obvious simple way of doing this that I can’t see right now, but if you select a message, then run this script you will be told of where the message lies.

This URL should load the script for you:

    http://tinyurl.com/ces4a

If it doesn't, then copy it from below.


tell application "Microsoft Entourage" to set theFolder to storage of item 1 of (get current messages)
set thePath to "On My Computer" & my getPath(theFolder) & ":" & name of theFolder
display dialog "The selected message is in the folder:" & return & thePath buttons {"OK"} default button 1

on getPath(theItem)
    set nameString to ""
    try
        tell application "Microsoft Entourage" to set theParent to parent of theItem
        set nameString to my getPath(theParent) & ":" & name of theParent
    end try
    return nameString
end getPath

--
Barry Wainwright
Microsoft MVP (see http://mvp.support.microsoft.com for details)
Seen the All-New Entourage Help Pages? - Check them out:
        <http://www.entourage.mvps.org/>

Reply via email to