To create a script, we need to open Windows File Explorer in the appropriate "Code" folder.

Now create a text file (right click in the folder, create new text file) and rename the script.

The extension should be .TXT, .ITS or .CDE. (CDE files use a different icon)

Now open the file in Notepad++ and type the following script:

Output = "Script Run at #TIME#, Tomorrow is: "
Add2Output = GetDate("D+1")

Save the file and use the refresh icon in IT-Tool to refresh the folders. The new script will now be shown.

Double click on the script to run it, the textbox will now show the time of the run and the date of tomorrow.

The log is cleared with the start of the script. To show the log after execution, use the shortcut ALT-SHIFT-L (opens log file in textbox) or ALT-CTRL-L (opens log file in text editor). The log is then written to one or more log files and shown. It will also clear the current log, so using the shortcut a second time will write an empty log to the current log file...

In this case the script is short and there is no reason that the script will remain in an endless loop. If so, the script can be calncelled with CTRL-ALT-F3. Note that the current script line will still be handled, so it might take a while before the script is really stopped (e.g. downloading a large file will still continue with the downloading).

Created with the Personal Edition of HelpNDoc: News and information about help authoring tools and software