revCopyFile/revCopyFolder weirdness!

Dave dave at looktowindward.com
Mon Sep 15 10:30:24 EDT 2008


Hi,

Have tried revCopyFolder in place of the revCopy file, still get the  
same error! Also if I change the destination path to "/Users/Dave/ 
Desktop/" then it works with revCopyFile but not revCopyFolder. This  
is totally brain-dead since you have to do a "if there is a folder"  
on the bundle, cos "if there is a file" doesn't work!

All the Best
Dave

On 15 Sep 2008, at 15:23, Eric Chatonet wrote:

> Bonjour Dave,
>
> A bundle is a folder not a file :-)
>
> Le 15 sept. 08 à 16:16, Dave a écrit :
>
>> Hi All,
>>
>> I'm using RunRev 2.8.1.472 on a Mac and I'm having problems with  
>> the following code:
>>
>> put "/Documents/Test/TestApp.app" into mySourcePath
>> put "/Volumes/TestVol/Folder/" into myDestPath
>>
>> revCopyFile  mySourcePath, myDestPath
>> put the result into myResult
>>
>> When I run this I get an "execution error" in myResult
>>
>> It's weird because if do a "there is a folder"/"there is a file"  
>> on the paths, they report true. Also, if I change the destination  
>> path to /Users/Dave/Desktop/" then it works ok.
>>
>> I've also tried adding and removing the trailing "/" on the paths  
>> (which sometimes seems to matter).
>>
>> I've tried copying the file manually in the finder and this works  
>> fine.
>>
>>
>> Does anyone have any ideas on how to solve this problem? I want to  
>> copy an application bundle file from the HD to a mounted image.
>>
>> All the Best
>> Dave
>
> Best regards from Paris,
> Eric Chatonet.
> ----------------------------------------------------------------
> Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
> Email: eric.chatonet at sosmartsoftware.com/
> ----------------------------------------------------------------
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution





More information about the use-livecode mailing list