Hi
I got a question about "AdlibRegister" and "AdlibUnregister"
I made a little Backupscript, using robocopy.
It will backup 6 libraries
There are 6 _RunDOS Commands, processed one by one.
Example:
OK, so far...
Now the question: I'd like to Adlibregister a function, which should get the size of the destinationfolder every 10 seconds while the _RunDOS Commands are being processed.
I do it like this:
OK, now...the destinationfolder is on a server, the sourcefolder(s) are local (what else....)
Sometimes, it works, sometimes it processes only 2 of the 6 _RunDOS Commands and the the script stands still...
why doesn't it work all the 6 steps EVERYTIME?....is it because of AdlibRegister?
Thanks for your help
I got a question about "AdlibRegister" and "AdlibUnregister"
I made a little Backupscript, using robocopy.
It will backup 6 libraries
There are 6 _RunDOS Commands, processed one by one.
Example:
[ autoit ]
OK, so far...
Now the question: I'd like to Adlibregister a function, which should get the size of the destinationfolder every 10 seconds while the _RunDOS Commands are being processed.
I do it like this:
[ autoit ]
AdlibRegister("FUNCBLABLA", 10000) _RunDOS (robocopy blabla library1 blabla) _RunDOS (robocopy blabla library2 blabla) .... AdlibUnregister("FUNCBLABLA") Func FUNCBLABLA() $size = DirgetSize("UNCblabla") GUICtrlSetData($blablalabel, $size) Endfunc
OK, now...the destinationfolder is on a server, the sourcefolder(s) are local (what else....)
Sometimes, it works, sometimes it processes only 2 of the 6 _RunDOS Commands and the the script stands still...
why doesn't it work all the 6 steps EVERYTIME?....is it because of AdlibRegister?
Thanks for your help