Rob Pitt wrote:
> My MC project is on CD-ROM for size and security reasons. I want to allow
> users to customise various parts of the project (page headers, buttons etc)
> from text files in a folder on their hard drive - preferably in a folder at
> the first level. My script works fine but I am struggling with a path for
> MacOS. Windows is easy = "/C:/textFolder/textFile". How does one identify
> the volume on MacOS. "/Macintosh HD/textFolder/textFile" is only good if
> the user hasn't renamed his hard drive icon. HC allows a notational
> shortcut ":textFolder/textFile" but I can't reproduce this in MC.
What you are saving are preferences, so placing them on the top level of
any drive is not very good behaviour in terms of user interface design.
There are preferences folders both on MacOS and Win95/98/NT. On Unix the
home directory is a common place to store these files with a leading
dot, so they are hidden in normal "ls" output. So you have the very same
problem on any platform.
There was a discussion on this list about built in support for finding
the preferences and other folders, but obviously it is not furthest up
on the list of feature requests.
cu
R�diger
--------------------------------------------------------------------
GINIT - Gesellschaft fuer integrierte Informationssysteme mbH
--------------------------------------------------------------------
GINIT GmbH
Ruediger zu Dohna email: [EMAIL PROTECTED]
Technologiepark phone: +49-721-96681-63
Emmy-Noether-Str. 9 fax: +49-721-96681-11
D-76131 Karlsruhe www: http://www.ginit.de
--------------------------------------------------------------------
PGP-Fingerprint: F1 BF 9D 95 57 26 48 42 FE F8 E8 02 41 1A EE 3E
--------------------------------------------------------------------