Owner's Manual (Complete)

Chapter 12 - Scripts
2 The Home Control Assistant
In this dialog are these parameters:
Script Engine.
This is the application that will process the script. In the above screen image VBScript is
being used.
Command line parameters to the script engine.
This will vary between engines
Script editor.
In the Script Visual Programmer element is a button that you can use to start an editor to open
your script. This may make it simpler to make quick changes as you modify your script to
achieve the function desired. In the above screen image the text editor Notepad++ is being
used.
The File extension for your scripts.
This makes locating your scripts in the Visual Programmer Script element simpler when you
use the browse button.
Script execution time.
Each script is executed in its own windows process and HCA watches for it to terminate. Due
to programming errors, your script might not complete its task in a timely manner – or it may
never complete its task. HCA watches for it to complete within the allotted time and if it does
not then HCA terminates the process.
The script element
To use a script in a Visual Program, add the Script element.
In this dialog is specified the path to the script file. Use the browse button to locate it. Script files
can reside anyplace on your disk but it is recommended that you keep your scripts in the HCA area
of your documents in the sub-folder Scripts.
There are two buttons on this dialog:
Edit.
This starts whatever text editor you have previously configured in Script Setup. The name of
the application is shown here for your reference.