Clipboard preferences.
Go to Property Listing | Method Listing
toSource, getElements, toSpecifier, addEventListener, removeEventListener
|
Property |
Type |
Access |
Description |
|---|---|---|---|
|
copyPDFToClipboard |
read/write |
If true, copies PDF to the clipboard. |
|
|
eventListeners |
readonly |
A collection of event listeners. |
|
|
events |
readonly |
A collection of events. |
|
|
isValid |
readonly |
Returns true if the object specifier resolves to valid objects. |
|
|
parent |
readonly |
The parent of the ClipboardPreference (a Application). |
|
|
pasteRemembersLayers |
read/write |
If true, objects cut or copied from different layers retain their layer assignment when pasted. |
|
|
preferPDFWhenPasting |
read/write |
If true, pastes PDF if available. |
|
|
preferStyledTextWhenPasting |
read/write |
If true, includes text attributes when pasting text. |
|
|
preservePdfClipboardAtQuit |
read/write |
If true, preserves PDF data on the system clipboard when the application exits. |
|
|
properties |
read/write |
A property that allows setting of several properties at the same time. |
EventListener addEventListener (eventType:String, handler:Varies, [captures:Boolean=Boolean])
Adds an event listener.
|
Parameter |
Type |
Description |
|---|---|---|
|
eventType |
The event type. |
|
|
handler |
Varies |
The event handler. Can accept: File or JavaScript Function. |
|
captures |
This parameter is obsolete. (Optional) (default: false) |
ClipboardPreference getElements ()
Resolves the object specifier, creating an array of object references.
Boolean removeEventListener (eventType:String, handler:Varies, [captures:Boolean=Boolean])
Removes the event listener.
|
Parameter |
Type |
Description |
|---|---|---|
|
eventType |
The registered event type. |
|
|
handler |
Varies |
The registered event handler. Can accept: File or JavaScript Function. |
|
captures |
This parameter is obsolete. (Optional) (default: false) |
String toSource ()
Generates a string which, if executed, will return the ClipboardPreference.
String toSpecifier ()
Retrieves the object specifier.