• 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
Opening the root folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Opening the root folder


  • Subject: Opening the root folder
  • From: Paul Skinner <email@hidden>
  • Date: Thu, 2 May 2002 16:42:48 -0400

Since the root folder isn't a real folder, and isn't represented anywhere in the hierarchy, I haven't been able to get it to open except by clicking on the imac in the toolbar. <aside> Apple, Shouldn't that icon change to reflect the HW you are using? </aside>
I wanted to have a dock icon that opens that location instead of opening a disk and naving back to the root. I figured a stay open app would be the trick, but I couldn't get it to work. The closest thing I could do was...

set sud to path to the startup disk as string
tell application "Finder"
open container of (sud as alias)
set current view of window 1 to column view
end tell

Yuck! And that window also wouldn't contain the 'network' icon! Bummer.
Today I tried...

open location "/"

cool.
--
Paul Skinner
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: changing file creator
  • Next by Date: Re: changing file creator
  • Previous by thread: Re: TIDs Tabs & Square Brackets (Script Debugger question)
  • Next by thread: speeding up list manipulations?
  • Index(es):
    • Date
    • Thread