revCopyFile problems on OSX

Terry Judd tsj at unimelb.edu.au
Tue Mar 8 05:03:14 EST 2005


> From: Dick Kriesel <dick.kriesel at mail.com>
> Date: Tue Mar 8, 2005  6:50:31  PM Australia/Melbourne
> To: How to use Revolution <use-revolution at lists.runrev.com>
> Subject: Re: revCopyFile problems on OSX
> Reply-To: How to use Revolution <use-revolution at lists.runrev.com>

on further testing the shell method...

get shell("ditto -rsrcFork 
"&quote&sourcePath&quote&&quote&destPath&quote)

...suggested by Brian Yennie back in 1983 seems to work wonderfully 
well. Don't know if I'm imagining things but it also seems to be faster 
than revCopyFile.

Terry...
>
> 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
>
>
>
>
>
> From: Dave Calkins <davecalk at intergate.com>
> Date: Tue Mar 8, 2005  7:52:50  PM Australia/Melbourne
> To: use-revolution at lists.runrev.com
> Subject: Wisconsin Rev Users/Midwest Rev User Group
> Reply-To: How to use Revolution <use-revolution at lists.runrev.com>
>
>
> There are a bunch of you in the mid west. Cool.
>
> I was a computer science major / biology major at the University of 
> Wisconsin LaCrosse in the late 70s. Now I feel old. My wife is from 
> St. Paul, so I've driven through Eau Claire many, many times.
>
>>>
>>> Well, there's at least one more! I'm in Eau Claire, WI.
>>>
>>> :-)
>>>
>>> Say, Jacque Gay (who's in Minneapollis) and I were thinking about 
>>> trying to
>>> organize a midwest Rev users group. If anyone is interested, please 
>>> contact
>>> me off list.
>>>
> Dave Calkins
>
>
>
> _______________________________________________
> 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