Hi,
First of all, thank you SO MUCH for your wonderful product, you can't imagine how worthy it is for me!
About this "pause" issue:
until now, if I see that the script does something with mistake, I just "Break" it and then if I want to resume the task, it'll do it from the very beginning.
But may be you created a way to just Pause script for some time and then resume it exactly from the place it stopped?
The question also is, how I can let the macro know, that it should resume?
Now, when I see problematic cases or pause need in the scripts, I just put these lines:
Wait>0.76
MessageModal>Choose Category
Macro>C:\Program Files\MJT Net Ltd\Macro Scheduler\WaitForContinue.scp
Wait>1.1
When WaitForContinue.scp is defined as following:
Let>WW_TIMEOUT=880
GetClipBoard>then
Label>Lab1
Wait>0.20
Let>compStr=c
GetClipBoard>now
If>compStr=now,prefinish
Goto>Lab1
Label>prefinish
If>then=now,finish
Wait>0.20
PutClipboard>then
Label>finish
I.e. when I want the script to continue, I select a letter "c" somewhere on the page and copy it to the clipboard and immediately release the mouse, as the script gets the sign and exits the WaitForContinue macro, and then continue to do what it should do after the call to WaitForContinue.
But probably there are other ways to let the script know I want to pause and resume?
I think now of just writing to a file, what function I'm implementing, and then just jump to a label which is written in the file - I was delighted to see that Goto works with variables as well.
But if you have any other insights to this, I'd be glad to know it. ;)
To share with you - I wrote another script that logs everything I put in my clipboard, to the file - I wrote it based on the existing script ion your database, but that exisiting script opened Notepad, and I made it not so disturbing:
DateStamp>c:\URLs1.txt,Macro Started
PutClipBoard>
Label>Lab1
GetClipBoard>then
Wait>2
GetClipBoard>now
If>then=now,Lab1
WriteLn>c:\URLs1.txt,result,%now%
Goto>Lab1
That's it.
Thank you again for your wonderful software!
Best,
Olga.
Is there any way to pause script?
Moderators: JRL, Dorian (MJT support)
Another scripting tool offers such an option at its TrayIconBut may be you created a way to just Pause script for some time and then resume it exactly from the place it stopped?

Please check the announcement section of this forum if an equivalent has been stated for the following release of Macro Scheduler.