Re: Opening Hidden Folders in Finder
Re: Opening Hidden Folders in Finder
- Subject: Re: Opening Hidden Folders in Finder
- From: Mark Phipps <email@hidden>
- Date: Mon, 18 Jun 2001 14:34:12 -0400
- Organization: University of Western Ontario
MP> How can I open a hidden folder with the Finder in MacOSX?
CN> path to the startup disk as string
CN> tell application "Finder"
CN> open alias (the result & "var")
CN> end
OK, this does work for a single folder. I modified it a bit to
get the desired result:
i.e. open alias (the result & "/var/db/SystemConfiguration/preferences.xml")
What I'm really trying to do is find a way to script customized network
preferences for an OS X installer on a campus-wide (non-profit) distribution cd.
I want to be able to use only the 'tools' provided by Mac OS X itself, so
3rd party apps like BBedit are out of the question. I thought I could use
the scriptable text editor, but it said there wasn't one - perhaps
it wasn't installed by default. Do you know of an easy way to script
these preferences (aside from waiting until 10.1.0 comes out)?
Mark Phipps, B.Sc.
Information Technology Services
University of Western Ontario