Running a Script

Top   Previous   Next

You can run a script using four different methods:

1. You can use the script editor to run either a temporary script or a saved script.  To access the script editor, select Create and Edit Scripts from the Scripting menu.
2. You can run a saved script using the Run Script item from the Scripting menu.  After you select the Run Script menu item, you will be prompted for a script file to run.  After selecting the script file, the script will run and when it is finished, you will be presented with the results.
3. You can run a saved script using the /script command line menu.  When after the script is complete, the results will not be displayed by default.
4. If you have associated the zsDHScr extension with zsDuplicateHunter, you can double click on the saved script file, and zsDuplicateHunter will automatically launch and run the script.  When after the script is complete, the results will not be displayed by default.

 

When zsDuplicateHunter runs a script, it will save the results of the script as an HTML file.  The results are saved in a subdirectory under the directory where you script is located called results.  The file will be titled:  

script name -results- run time .html

Where script name is the name of the script that was run and run time is the time that the script finished running.  The run time will be formatted as yyyy-MM-dd-HH-mm which will allow for easy sorting of the results in your file system.  You can prevent zsDuplicateHunter from adding the run time in the Options .

 

If you have chosen to display the results in the Scripting Options section of the Options dialog, the results will be displayed in your browser and you will be able to print the results from there.  If you have selected the Display pass/fail after run option, the program will allow you to display the results from the message informing you if the script passed or failed.