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.
_______________________________________________
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard

Reply via email to