Re: OS X 10.1 Finder & "path to"
Re: OS X 10.1 Finder & "path to"
- Subject: Re: OS X 10.1 Finder & "path to"
- From: Shane Stanley <email@hidden>
- Date: Thu, 04 Oct 2001 12:39:57 +1000
On 4/10/01 12:19 PM +1000, Peter Boctor, email@hidden, wrote:
>
The following outside of a tell block works correctly.
>
path to startup disk
>
--> alias "Mac OS X:"
>
>
But inside of a Finder tell block it errors out:
>
>
tell application "Finder"
>
path to startup disk
>
end tell
>
--> Finder got an error: Can't make startup disk into a item.
>
>
Is it just me?
Using "path to" inside a "tell Finder" construct is problematic. In this
case, it's probably failing because "startup disk" is a property of the
Finder's desktop-object.
--
Shane Stanley, email@hidden