Please enable JavaScript to view this site.

 

Navigation: Script Lines

Manipulating Script Lines (in the script editor)

Scroll Prev Up Next More
To manipulate script lines (add, delete, duplicate,move, disable), you can use either the script lines Menu Items available from the scripts menu, or the script lines toolbar.

 

The rules for manipulating script lines can be complex, but fortunately these rules are built into the script lines toolbar.

 

Whenever you select a script line in the scripts editor, you will notice that some of the buttons of the script line Toolbar are disabled, preventing you from unknowingly "breaking the rules".

 

Below are some examples:

 

 

 

Script Line Commands

 

Adding

New script lines can be added to either of the three mandatory script lines Front Pages, MainGrid and Back Pages. These additional lines can be nested hierarchically to construct complex scripts. To add or insert a line, select the line which will be above the new line. Then click/select one of the 5 first buttons/menu items on the script lines Toolbar or script lines Menu Items.

Duplicating

To make a copy of the currently selected line, first click on the COPY button or menu item. Then select the line which will be above the copy. Click on the PASTE button. You can also use drag and drop.

Moving

To move the currently selected line, first click on the COPY button or menu item. Then select the line which will be above the copy. Click on the PASTE button. Finally go back and delete (see below) the original line. You can also use drag and drop.

Deleting

To delete the currently selected line, click on the DELETE button or menu item. If the selected script line has children (see previous section), then Q++Studio will warn you that deleting the line you selected will also delete all of its children.

Disabling

Disabling a script line tells Q++Studio to ignore the disabled line(s) without deleting them. Visually, disabled lines are dimmed, and when selected, appear in grey rather than the Windows selection color (usually red or blue).

 

This is useful when you wish to test a particular option (for example a MiniCalendar setting), but do not wish to spend time waiting for Q++Studio to generate 30 pages that come from a QuarkXPress or InDesign info pages script line. Note that when you comment out a line, all its children are automatically commented out as well.

 

Another option, if you wish to disable a script line depending on the year of the script, is to use the skip line property which is available for the Blank Pages, DiaryGridLines, Place Holders, PDF Pages, InDesign Pages, and Quark Pages script lines.

 

For more details on the specific rules governing the above manipulations, see the next section. Also, additional functions are available for PDF Pages, InDesign Pages, Quark Pages and DiaryGridLines and are discussed in the corresponding topics.