revcopyfolder problem

Mark Talluto userev at
Wed Aug 24 19:00:44 EDT 2011

Give the following a try and see if this works for you.  It is a lot faster and does not come with the annoying chime when it finishes the copy.

on csCopyFolder tSource, tTarget
      if the platform is "MacOS" then
            csDebugOutput ("## csCopyFolder Handler Running...") --*DEBUG*
            replace " " with "\ " in tSource
            replace " " with "\ " in tTarget
            put "cp -R" && tSource && tTarget into tShell
            do shell (tShell)
      end if
      if the platform is "Win32" then \
                  revCopyFolder tSource,tTarget
end csCopyFolder

Best regards,

Mark Talluto

More information about the Use-livecode mailing list