Re: folder path of open finder window?
Re: folder path of open finder window?
- Subject: Re: folder path of open finder window?
- From: Nigel Garvey <email@hidden>
- Date: Thu, 16 Aug 2001 18:13:15 +0100
In your message of 16/8/2001 15:52 BST, you wrote:
>
On 8/16/01 1:35 AM, Nigel Garvey <email@hidden>
>
wrote:
>
>
> tell application "Finder"
>
> set fred to folder of front container window as string
>
> end tell
>
>
>
>I don't know why this works. My Finder dictionary doesn't mention that
>
>windows have a 'folder' property.
>
>
Window doesn't, but container window has a "container" property, and AS
>
apparently interprets "folder" in your script as "container"
Thanks, Michelle. That sounds plausible. But yet, the script also works
with 'window' in place of 'container window' - except of course that any
kind of window is then considered. If you do a 'Get Info' on a folder,
the 'folder' of the information window will turn out to be that folder.
NG