2021.1

Table Of Contents
var css = loadtext("css/my-styles.css");
results.append(query("<style type='text/css'>").text(css));
logger
This is a global ScriptLogger object that allows logging messages such as error, warning or
informational messages. The messages will appear in the Messages pane (see "Preflight
Results and Messages" on page1056 and "Designer User Interface" on page934).
Methods
These are the methods of the logger object.
Method Parameters Description
error()
message: string
Logs an error message
info() message: string Logs an informational message
warn() message: string Logs a warning message
Number functions
Note
The locale also influences the output of some Number functions; see "Locale" on
page778.
Tip
For fields that contain a number, you can also enter a formatting pattern via the Text
Script Wizard; see "Using the Text Script Wizard" on page799, "Formatting variable
data" on page803 and "Number patterns" on page1298).
Page 1296