Please enable JavaScript to view this site.

 

Navigation: ScriptLines

Manipulating (in the Scripts Editor)

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

 

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

 

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

 

 

 

ScriptLine Commands

 

Adding

New ScriptLines can be added to either of the three mandatory ScriptLines FrontPages, MainGrid and BackPages. 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 ScriptLines Toolbar or ScriptLines 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 ScriptLine has children (see previous section), then Q++Studio will give you the choice of either deleting only the line you selected or also all of its children. Note that in some cases, the ScriptLine rules of Q++Studio make it so that the only option is to delete all the children of the selected line.

Disabling

Disabling a ScriptLine 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 QuarkPages ScriptLine. 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 ScriptLine depending on the year of the script, is to use the skip line property which is available for the BlankPages, DiaryGridLines, PlaceHolders, and QuarkPages ScriptLines.

 

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