|
The error dialog, resume a script
|
|
| 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:
|
|
|
|
| Click "Retry" in the error dialog.
|
|
|
| The same dialog will be displayed again - the directory is still there.
|
| Click "Ignore".
|
|
|
| Now the dialog will say:
|
|
|
|
| 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.
|
| 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.
|
| 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.
|