Robocopy and LiveCode

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
zaxos
Posts: 222
Joined: Thu May 23, 2013 11:15 pm

Robocopy and LiveCode

Post by zaxos » Thu May 23, 2013 11:18 pm

Hello everyone, I'm looking for a way to use Robocopy with LiveCode since revCopyFolder/File uses Xcopy and that dosent suit me, thanks alot in advance for your help :)
Knowledge is meant to be shared.

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1239
Joined: Sat Apr 08, 2006 1:10 pm
Contact:

Re: Robocopy and LiveCode

Post by BvG » Fri May 24, 2013 11:29 am

see the shell() function in the dictionary :)
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

zaxos
Posts: 222
Joined: Thu May 23, 2013 11:15 pm

Re: Robocopy and LiveCode

Post by zaxos » Fri Jun 06, 2014 10:58 pm

Thank you for your answer BvG! I decided to continue with my project after a LONG time...
so here is the question, shell function hangs the whole program untill the copy ends and as far as i know there is no threading system yet implemented in livecode.
is there a way to overcome this? i tried launch but this limits me on the progress bar side since i dont get live feedback from robocopy
Thank you for your time.
Knowledge is meant to be shared.

zaxos
Posts: 222
Joined: Thu May 23, 2013 11:15 pm

Re: Robocopy and LiveCode

Post by zaxos » Mon Jun 30, 2014 11:33 pm

I'l take that as a no. I managed to finish my project and everything is working fine but now i have enother question, i used revBrowserOpen but when i set windowShape on the stack the browser stop showing anything, it still works beacoz i can click on rec i had set i just cant see anything.
Thank you for your time.
Knowledge is meant to be shared.

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: Robocopy and LiveCode

Post by Simon » Tue Jul 01, 2014 12:06 am

Hi zaxos,
I think you should start another thread as this question doesn't apply to Robocopy.
windowShape and revBrowser.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

zaxos
Posts: 222
Joined: Thu May 23, 2013 11:15 pm

Re: Robocopy and LiveCode

Post by zaxos » Tue Jul 01, 2014 1:26 am

Hey simon, i'l do that :)
Knowledge is meant to be shared.

Post Reply