Application Object
Description
Top-level object. Provides access to all of CRT's properties and methods.
Syntax
Remarks
The name æcrtÆ is used to access all of CRT's top-level properties and methods. Some of these top-level properties return references to other objects. When a script is run by CRT it is not necessary to create the æcrtÆ object. It is automatically part of the script namespace.
Application Object Properties and Methods
ááááActivePrinter |
ááááQuit |
ááááDialog |
|
ááááScreen |
|
ááááSession |
|
ááááVersion |
|
ááááWindow |
|
Description
Returns or sets the name of the active printer.
Syntax
Remarks
Read/Write string property.
Example:
Description
Returns a reference to CRT's Dialog object.
Syntax
Remarks
See the Dialog object documentation for a description of its properties and methods.
Description
Returns a reference to CRT's Screen object.
Syntax
Remarks
Object variables assigned from the screen property require the æSetÆ syntax. See the Screen object documentation for a description of its properties and methods.
Description
Returns a reference to CRT's Session object.
Syntax
Remarks
See the Session object documentation for a description of its properties and methods.
Description
Returns a string containing CRT's version.
Syntax
Remarks
Read-only string property
Example:
Description
Returns a reference to CRT's Window object.
Syntax
Remarks
See the Window object documentation for a description of its properties and methods.
Description
Causes CRT to exit.
Syntax
Remarks
A script that invokes Quit will be terminated immediately and cause CRT to exit.