PSPApp Object Reference

This page contains basic information on the makeup of the PSPApp object that is imported at the beginning of every script.  If known differences exist in various versions of PSP those will be noted here as soon as they are discovered.

PSPApp – the name of the module imported in PSPXI and newer

JascApp – the name of the module imported in PSP8-9.  Acts as alias for PSPApp if called in newer versions of PSP for backward compatibility.

Classes contained in PSPApp:

NoSelectionDefined
InvalidParameterType
InvalidParameterValid
ArrangeInvalid
Rexec Failure
MaterialIsNull
ObjectNotFound
ParameterNotDefined
Target document is locked
SelectionTypeNotSupported
InvalidProgramState
DocumentTypeNotSupported
ParameterOutOfRange
StopScript
ParameterIsNone
InvalidCommandName
NoDocumentOpen
TooManyLayers
LayerTypeNotSupported

Each class is a subclass of the Exception class.  They contain two additional variables: __module__ and __weakref__.

PSPApp also contains a single Object called App. See the App Object page for more information.

And those are all of the known functions, class objects, and variables of the PSPApp/JascApp module.  I plan to clean this up at a later date, creating individual pages for each object descriptor.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Create a free website or blog at WordPress.com.

Up ↑

%d bloggers like this: