Good suggestion Klaus!
Thanks for the tip. BTW, I've not checked this on Windows yet.
Eventually I'll want this app to run on PC. I suppose I might also
have to put in a check there too?
Chris
On 7 Jun 2005, at 13:03, Klaus Major wrote:
Hi Chris,
Klaus -
Thanks for looking at this. The problem I have is not the end of
the string (bundle path) but the beginning! On my G5 it correctly
returns "/Volumes/Hard_Disk_Name/...", but on G3 it starts with
the application root, i.e. it doesn't return the full path to the
HD root.
The app happily works without this full path, but the problem is,
I need to pass the full path to another (SuperCard) app.
oh, sorry, yes, i misunderstood your problem.
But this can also be easily worked around, looks like this is a
"Tiger" feature
(putting "/Volumes/Bootvolume/" before everypath on the boot volume.
...
put the filename of this stack into fn
set the itemdel to "/"
if item 2 of fn <> "Volumes" then
put "/Volumes" & line 1 of the volumes & "/" before fn
end if
...
"the volumes" returns a list of all harddisks and the fiurst line
will contain your
"boot volume"
Hope this helps.
!?!
Chris
Regards
Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de
_______________________________________________
use-revolution mailing list
[email protected]
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________
use-revolution mailing list
[email protected]
http://lists.runrev.com/mailman/listinfo/use-revolution