revCopyFile/revCopyFolder weirdness!
Eric Chatonet
eric.chatonet at sosmartsoftware.com
Mon Sep 15 10:23:12 EDT 2008
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/
----------------------------------------------------------------
More information about the use-livecode
mailing list