7.4

Table Of Contents
Syntax
&current.property => value
Properties
datafilename
String value containing the full path and the internal filename, not the original values, of the currently used data file. Note: This
variable contains an empty string in printer centric mode.
datapage
Integer value containing the page number of the current data page, or the number of the current record set in the case of a
database emulation. Note that if you use Metadata and you modify it in any way (sorting, filtering, sequencing) you should use
&current.metadatapage instead.
line
Integer value containing the line number of the current line of data within the data page, or the number of the current record
within the record set. This value is read-write and can be modified using the set command.
lpp
Integer value containing the number of lines per page in the current data page. In database emulation, this value can also be
used in place of the subreccount() function to determine how many records a record set contains.
mediacolor
String value containing the color set in the Media color box of the Page dialog box for the current document page, or, if no
value is set in that box, the color set in the Media color box in the Document dialog box for the document. The Media color box
appears when you select Media selection in the Selection type box. Recall that the Media color box specifies the color of paper.
mediatype
String value containing the type set in the Media type box of the Page dialog box for the current document page, or, if no value
is set in that box, the type set in the Media type box in the Document dialog box for the document. The Media type box appears
when you select Media selection in the Selection type box. Recall that the Media type box specifies the type of paper (plain,
coated, etc.).
mediaweight
Integer value containing the weight set in the Media weight box of the Page dialog box for the current document page, or, if no
value is set in that box, the weight set in the Media weight box in the Document dialog box for the document. The Media weight
box appears when you select Media selection in the Selection type box. Recall that the Media weight box specifies the weight
of paper, in grams per square meter.
metadatapage
Integer value containing the page number of the current metadata page. This corresponds to the filtered, sorted and
sequenced metadata.
minfeature
Measure value containing the width of a single pixel at the current zoom level. Precise to 1/65536 inch. This is the minimum
size you can use in PlanetPress Talk code. If you use a smaller value (for example as an argument in a command), Plan-
etPress Talk automatically replaces that value with the value of minfeature.
orientation
©2010 Objectif Lune Inc - 244 -