revCopyFile problems on OSX
Dick Kriesel
dick.kriesel at mail.com
Tue Mar 8 02:50:31 EST 2005
On 3/7/05 8:41 PM, "Terry Judd" <tsj at unimelb.edu.au> wrote:
> Can someone who's already 'been there' suggest the best solution?
Well, I can't say it's the best solution, but it's working for me:
on copyFile pFile1,pFile2
delete file pFile2
switch the platform
case "win32"
revCopyFile pFile1,pFile2
if the result is not empty then answer("revCopyFile failed")
break
case "MacOS"
put "binFile:" & pFile1 into tFile1
put "binFile:" & pFile2 into tFile2
put URL tFile1 into URL tFile2
if the result is not empty then answer("put URL failed")
break
default
answer("platform" && the platform && "needs more coding")
end switch
end copyFile
Thanks to the gurus who guided me when I had the same problem.
-- Dick
More information about the use-livecode
mailing list