File name of stack weirdness

Chris Carroll-Davis chris at carroll-davis.co.uk
Wed Jun 8 04:30:13 EDT 2005


Devin, Sarah -

Thanks for clearing that up for me!  You are both right - that was  
the problem.  Now I know what is causing it and what to expect I can  
work around it easily (with help from Klaus too)

Thanks again,

Chris




On 7 Jun 2005, at 19:18, Devin Asay wrote:

> In my experience this is normal OS X/Unix behavior. The "root"  
> level of the system is defined as the "top" level of the boot  
> volume, so in a terminal if you do 'cd /' you are taken to the top  
> level of the boot drive. If my boot volume is 'Macintosh HD' that  
> information is not included in the path name. However, if I want to  
> access a file or folder on another volume I must preface the cd  
> command with /Volumes/DriveName.
>
> The behavior is Rev is consistent with the unix file system model  
> and is completely expected.
>
> HTH
> Devin

On 8 Jun 2005, at 00:56, Sarah Reichelt wrote:

>
>
>> If I do:  "get the filename of this stack" on my G5(Tiger) it  
>> returns "/Volumes/Starfish Internal 250/Scripter/filename test/ 
>> filename test.app/Contents/MacOS/filename test"  i.e. the full path.
>>
>> If I run it on G3 laptop(Panther) it returns "/filename test.app/ 
>> Contents/MacOS/filename test"
>> (whereas to be consistent, it should have returned /Volumes/ 
>> Powerbook HD/filename test.app/Contents/MacOS/filename test")
>>
>> This is a big problem for me as I need to pass the path  
>> information to a text file to be read by another (SC) application.
>>
>
> I would guess that on your laptop, you are using the boot drive,  
> but on your G5, you are used another drive, not the boot drive. Rev  
> always adds the "/Volumes/DriveName" prefix to anything other than  
> the boot drive.
>
> Cheers,
> Sarah
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the use-livecode mailing list