• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: OS X 10.1 Finder & "path to"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >OS X 10.1 Finder & "path to" (From: Peter Boctor <email@hidden>)

  • Prev by Date: OS X 10.1 Finder & "path to"
  • Next by Date: Re: OS X 10.1 Finder & "path to"
  • Previous by thread: OS X 10.1 Finder & "path to"
  • Next by thread: Re: OS X 10.1 Finder & "path to"
  • Index(es):
    • Date
    • Thread