CwGetAppHandle

Syntax:

hApp = CwGetAppHandle(sThingName)

        hApp            (handle) Handle to an app-specific object

        sThingName      (string) The name of the app-specific object to
                        retrieve.

Description:

ColorWave-based applications may maintain a number of objects through which scripts can do application-specific things. Such objects have accessible properties just like all other ColorWave objects. P>G PRO supports five such objects:

output settings preferences pen settings quick start print settings

Example:

/* Get the dimensions of the cropping rectangle on the main view. */
ah=CwGetAppHandle('output settings')
maxwidth=CwGetProperty(ah, 'output size:width')
maxheight=CwGetProperty(ah, 'output size:height')

Remarks:

See the section on properties for the specific details of these objects.

Functions by NAME

Index

Functions by PURPOSE