MC paths
Rick Rice
rice at cariboo.bc.ca
Thu Sep 9 14:39:32 EDT 2004
I'm using MC 2.4.3 on Mac OSX
I'm using the following to determine the correct path.
I have these functions in a standalone which then directs the user to a
number of MC stacks.
Works great until I burn then to CD.
Please, can anyone help?
Thanks
Rick
function AppPath
put the filename of this stack into tPath
set the itemdel to "/"
If (IsOSX()) then
get offset(".app/Contents/MacOS/", tPath)
if it > 0 then -- 2.4.3 or later
delete char it to len(tPath) of tPath
end if
end if
delete last item of tPath
return tPath &"/"
end AppPath
function IsOSX
if the platform is not "MacOS" then return false
get the systemversion
set the itemdel to "."
if item 1 of it >= 10 then return true
return false
end IsOSX
Plan! I'd rather be surprised.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 895 bytes
Desc: not available
Url : http://lists.runrev.com/pipermail/metacard/attachments/20040909/cbe1c0e4/attachment.bin
More information about the metacard
mailing list