The error dialog, resume a script
Top  Previous  Next


1) Use the script from the previous undo tutorial

2) Raise an error

Press CTRL+R to run the script (Press CTRL+R to run it again if no error occurs the first time.)  
 
When the directories already exists, this error dialog will be displayed:  
 
 
 
And the log window will display:  
 
 

3) Retry the last operation

Click "Retry" in the error dialog.  
 
The same dialog will be displayed again - the directory is still there.  

4) Ignore the error (and proceed to the next [Data] row)

Click "Ignore".  
 
Now the dialog will say:  
 
 

5) Abort the job

Click "Abort".  
 
The editor will now look like this:  
 
 
 
·[Machines]: "Err#1-Row#1" - indicates that the first row in the [Batch] section failed.  
·[Batch]: "Err#1-Row#1" next to "data.loop" indicates that the first row in the loop failed.  
·[Batch]: "DOS md" is marked - this command failed.  
·[Data]: TestDir1 is marked, OK - this is because you pressed "Ignore" in the first error dialog.  
·[Data]: TestDir2 is not marked - this is the first line that failed where the error was not ignored.  

6) Resume the job

Press CTRL+R to run the script.  
 
Notice that the error dialog complains about "TstDir2"; "TstDir1" is ignored since it is marked as OK - the script resumes where it was last stopped.  

7) Start the job from the beginning

a) Erase the markers.  
 
 
Click the "OK" eraser button or press CTRL+M to remove the markers.  
 
b) Press CTRL+R to run the script.  
 
Now the error dialog complains about "TstDir1" again.