XML identifier: TSL_DiaryGrid
On the right is a screenshot of the properties of DiaryGridLines, as displayed in the properties inspector. Click on any of the properties in that image to navigate to the corresponding help topic.
The most important property of DiaryGridLines is Grid Template, and that is usually the first property you should set. Once selected, the name of the GridTemplate and an icon and text denoting its structure will appear in the scripts editor.
•The next step is to tell Q++Studio when the DiaryGridLine starts and when it finishes. How this is done depends on whether the DiaryGridLine is the child of an Insert or not. If it is you would set the insertion rule property, and if not (the usual case) you would set the begin rule, end rule properties.
•When that is done there are many properties which allow you to fine-tune the appearance of the current GridTemplate in the output file. You can set default values for many of these properties in diary grid preferences.
As you set and modify ScriptLine properties, Q++Studio constantly monitors your work and displays messages. This is particularly true for DiaryGridLines, for which Q++Studio uses the list of tokens in the GridTemplate to check over 30 different settings for incompleteness, incorrectness, or conflict with another setting.
All the standard ScriptLine manipulations can be used on DiaryGridLines.
Menus and Toolbar Options
Additionally, when a DiaryGridLine is selected, additional functions become available, some directly from the ScriptLine Toolbar, as shown below, and some via the pop-up menu that appears when right-clicking on a DiaryGridLine.
Preview: Use this button or menu item to display a small image preview of the QuarkXPress file underlying the selected ScriptLine. This feature is also available for PdfPages and QuarkPages ScriptLines.
Open File: Opens the file underlying the selected ScriptLine in QuarkXPress. Note that this function is only available for DiaryGridLines and QuarkPages ScriptLines.
Re-scan: Rescans or reinspects the Quark file underlying the selected ScriptLine. Note that this function is only available for DiaryGridLines and QuarkPages ScriptLines.
Generate Line: generates an output file that only includes the GridTemplate and tokens of the currently selected DiaryGridLine. Note, however, that the page of the other ScriptLines are still there in the generated output file, so that tokens that depends on the page number will work correctly.
Clear Template Link: Tells Q++Studio that the selected DiaryGridLine does not use any Template (this is the state when you create a new script).
View Tokens: This allows you to see the tokens contained in the selected DiaryGridLine's GridTemplate. This is useful to spot oddities such as having typed [33d] instead of [3d] in a weekly diary.