ONE-xicons
© Copyright 2003-2024 WERK II Medien- und Informationsgesellschaft mbH. All Rights Reserved.

FrameTags

The plugin "FrameTags" provides the panel "Frame tags".

The plugin only provides the user interface and is optional.

Frame Tags are key/value pairs attached to Illustrator art objects (e.g. text frames or images). One can use this mechanism to attach meta data to elements which can be used e.g. for driving behavior inside of cScripts.

The keys are always strings - the values can be one of the following data types:

User Interface

With the panel Frame tags key/value pairs can be stored on frames of inside a document. The panel processes all selected document items.

  1. Name of the entry
  2. Data type of the entry
  3. Value of the entry. The display depends on the data type. If several objects have the same tags with different values, this will be displayed here.
  4. Add a new entry. When clicked, a dialog is opened to specify a new key/value pair and its data type.
  5. Edit the selected entries
  6. Delete the selected entries
  7. Copy the selected entries as JSON representation to the clipboard.
  8. Paste entries from a JSON representation to the clipboard.
  9. If several objects are selected that have completely different entries, this entry will be displayed.

To edit an entry, double click it to show the edit dialog.

Hidden Entries

With the flyout menu of the panel and the menu item "Show hidden entries" you can show entries reserved by the Comet Plugins and Illustrator.

Changing these entries may cause Illustrator to behave unexpectedly or even crash!

This option is for debugging purposes only and should not be used in production!

Script support

A number of cScript functions are available for using the frame labels.

cScript

The data type of the key/value pairs are currently always strings. If you fetch the value of a non-string entry, the value is converted to a string representation of that data type ("1" or "0" for data type Bool).

Python

For Python we support all data types that are supported in the user interface: int, str, bool and float.

The following functions are available:

ClassID

The panel has the ClassID 409

© Copyright 2003-2024 WERK II GmbH Duisburg
Authors :
      Paul Seidel
      Christoph Soergel
      Leo Quensel
      Mihg

This documentation is part of the priint:comet InDesign®, InDesign Server® and Illustrator® plug-in and of the comet_pdf packages and is subject to the same license terms as priint:comet itself. The documentation may neither be passed on nor installed on public servers without the consent of WERK II GmbH.

The documentation describes the priint:comet scripting language cScript and provides support for solving technical problems when using the priint:comet plugins. The documentation is not a manual for the priint:comet plugins. A manual of the priint:comet plugins can be found here.

The documentation has been prepared with the greatest possible care. In case of errors or hints, please do not hesitate to contact our support. However, faulty or incomplete functional descriptions shall in no case result in an obligation on the part of WERK II GmbH to adapt the described item.

This copyright notice may not be removed or altered.