Indesign Scripting Reference
home | search | Links
JavaScript >> ClipboardPreference

ClipboardPreference

Clipboard preferences.

ClipboardPreference Properties

Property Type Access Description
copyPDFToClipboard Boolean r/w If true, copy PDF data to the clipboard.
parent Object read The parent of the object.
pasteRemembersLayers Boolean r/w If true, objects cut or copied from different layers retain their layer assignment when pasted.
preferPDFWhenPasting Boolean r/w If true, paste PDF data from the clipboard (when available).
preferStyledTextWhenPasting Boolean r/w If true, include text attributes when pasting text (when available).
preservePdfClipboardAtQuit Boolean r/w If true, do not clear PDF data from the clipboard when quitting the application.
properties An array of property names and values r/w Property that allows setting of several properties at the same time.

ClipboardPreference Methods

Method Returns Description
getElements Array of Objects Resolve the object specifier.
toSource String Generate JavaScript source that, if executed, will return the specified objects.
toSpecifier String Retrieve the object specifier.