Set Task Parameter

This feature allows you to set a task parameter from an external program, script, batch file, or command-line. Select the task, and parameter value, from the drop down box.  The command-line, and the working directory required to set the task parameter, will be automatically generated in the text fields.  In the command-line code, you would need to replace the term 'parameter_value', with the value you need for this parameter. You can use the "Copy to Clipboard" feature, to copy these fields to clipboard, for use in your scripts, or programs.

IMPORTANT: The user interface should be closed for this to work correctly. If the user interface is open, and the user then changes any setting related to the Task Table, the changes made from the external program will be overwritten

Batch or script file example:
cd [working_directory]
[commandline]
where [working_directory] and [commandline] are generated automatically in the Task Runner fields.

Example (on windows):
cd c:\Data\Java\Automize
"C:\program files\Automize\jre\bin\javaw.exe" -cp .;hitek7.jar com.hitek.engine.utils.SetParameter Message 1 parameter_value

External program:
Use this command-line, from your external program, to launch the task.  Enter the working directory, or the Java executable will not be able to run the required tasks.

From within Automize:
Use this command-line, from the Command or Windows Command tasks, to set the task parameter.  Enter the working directory, or the Java executable will not be able to run the required tasks.