Layoutrules
These layoutrules are included with the default-project to expand on the standard-layoutrules included with the comet-plugin. They can be found in the contextmenu of the Layoutrules-panel in InDesign. To distingush them from the standard-layoutrules by comet, their categories are prefixed by an underscore "_".
Document
Set Document Attribute
Id: 1000
Sets a document attribute with a custom key and value using the comet-method CDocument.setAttribute.
| Parameters | Explanation | Default |
|---|---|---|
| Key | Key of the document-attribute to set. | |
| Value | Custom Value to set for the atttribute. Use '--frame-uid--' to set the current frame's uid as attribute-value. | --frame-uid-- |
Redefine swatch
Id: 1001
Sets a document attribute with a custom key and value using the comet-method CDocument.setAttribute.
| Parameters | Explanation | Default |
|---|---|---|
| Swatch Name | Enter the name of the swatch, you want to redefine. If you choose --dynamic--, the swatch that is applied to the current pageitem will be redefined. | --dynamic-- |
| Color Values | Commaseparated color values the selected color model. CMYK: 4x 0-100 RGB: 3x 0-255 Hex: Hex-string | 0,100,0,0 |
| Color Model | One of the following color models: cmyk, rgb, hex | cmyk |
Frames
Delete Frame
Id: 1100
Deletes the current frame from the document.
warning
All subsequent calls to this item or the item’s children functions will fail.