Absolute File Paths - Bug or bad Docs

Kay C Lan lan.kc.macmail at gmail.com
Wed Sep 24 01:57:04 EDT 2008


The docs, for 'absolute file path':

The full name and location of a file, beginning with the disk the file is
on, including ....

The 'Tip' for defaultFolder includes the above plus points out that UNIX
naming convention is used so the path MUST begin with and folders separated
by "/".

The example under 'defaultFolder' is:

set the defaultFolder to "/Hard Disk/Applications/GetIt"

All simple enough.

But when I do:

answer files "Select a file" with "/Mac HD/Users/kcl/stacks/" titled "Choose
a stack"

I end up in the bowels of the Rev App bundle.

Even if I do the above in the message box it ends up in the Rev App bundle.

BUT, if I remove the reference to the hard disc everything works fine, both
in my stack and the msg box.

This applies whether I'm looking in Users, Applications, System...
everywhere. Referring to the HD or partition fails to lead anywhere other
than the bowels of the Rev App Bundle

So has something changed in Rev 3.0 or have the Docs been wrong all this
time?

MacBook Pro
OSX 10.5.5
Rev Studio 3.0.0 build 750
Brain old and tired



More information about the use-livecode mailing list