Absolute File Paths - Bug or bad Docs
Bob Sneidar
bobs at twft.com
Wed Sep 24 19:25:09 EDT 2008
I was not aware that you included a "/" before the hard drive. /
Applications means root of the System drive/Applications folder. I
thought that if you wanted to refer to an absolute path in unix you
would use /volumes/Macintosh HD/Applications. This is of course for
the Mac OS. Perhaps other Unix variants use something else for the
mount points besides volumes, but the idea is the same.
Bob Sneidar
IT Manager
Logos Management
Calvary Chapel CM
On Sep 23, 2008, at 10:57 PM, Kay C Lan wrote:
> 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
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list