Please enable JavaScript to view this site.

 

Navigation: Scripts > Previewing

Script Preview: Tokens on Page

Scroll Prev Up Next More
When a dated page is selected in the pages and signatures layout of the script preview, the preview window displays the tokens contained in that GridTemplate, evaluated for the date selected in the calendar above.

 

These tokens can be displayed sorted by DayValue or by TokenRoot, as shown in the image on the right.

 

Coverage

 

The purpose of this preview of the tokens' values is to cover about most of tokens, most of the time.

 

The tokens that are not fully evaluated are few.

 

Even the following complex types of tokens are fully evaluated: zap tokens, Range tokens, macros tokens in general, as well as MiniCalendar tokens (this is similar to the preview of the MiniCalendar Options, but is based specifically on the page and date currently selected).

 

Formatted token results

 

Rich-text-formatted holidays and slogans are fully evaluated, and are denoted by a red triangle in the margin.

 

Click on the token value to display full attributes information, and a larger and possibly more accurate preview in the formatted text preview dialog.

 

Conversion errors

 

If a token conversion error or warning is encountered, the token is highlighted, and placing your mouse over that token displays a hint containing the run-time message.

 

To get more info on the message, simply click on the token which caused the message ([1iMmmm] in the example above) and the Q++Studio Help will open at the corresponding topic.

 

Exclusions

 

The following tokens are not fully evaluated:

 

Macro tokens involving global variables. This is because in the Script Preview, the tokens are evaluated page by page, one page at the time only (when you select a page). Therefore Q++Studio has no notion of what might have happened to global variables in the previous pages. To get accurate preview information for tokens involving macros with global variables, you should use the p-Code Viewer.

SARAs: This is because the SARAs often rely on typographical information in the GridTemplate (such as replace 'xxx' in 12pt Arial) which is not available to Q++Studio.

 

See also: MiniCalendar Preview, formatted text preview, listing messages, viewing p-Code.

 


Topic 104158, last updated on 19-Apr-2020