The Script Menu

Top  Previous  Next

 

The ChipProgUSB is featured with the tools known as an embedded script language. This mechanism is intended for automation of the programming operation, mastering complex operations that include both the programmer itself and the programmer operator's actions. The ChipProgUSB enables composing scripts files (SF) and executing them.

This Script menu contains a few commands associated with script files. The commands can be configured by the ChipProg user and the list can be expanded by adding a new item (command). To add a new item, place a script file into the current folder or into the ChipProgUSB installation folder. The first non-empty line of any script file should contain three slashes followed by the text that will appear in the Scripts menu:

/// Menu item text

When ChipProgUSB builds the Scripts menu, it searches the current folder and its installation folder for all *.CMD files that contain '///' in the first line (remember that '//' denotes the beginning of the single-line comment) and inserts the text following '///' into the Scripts menu.

When you select a Scripts menu item and click the Start button, ChipProgUSB launches the selected script.

 

Button

Command

Description

Misc_Scripts

Start...

Opens the Script Files dialog from which you can

 

New Script Source

Create a new Script File text.

View_Watches24

Open Watches window

Opens the Watches window.

 

Add watch...

Add watch to the Watches window .

 

Editor window

Opens a list of the commands to Compose a new, Open, Save, Save as, Print a script file. of the Editor window.

 

Text Edit

Edit a list of the commands for editing a selected Script File

 

Example Scripts

Invokes the

 

Help on this menu

 

 

Working with scripts is describe in the Script files topics.