Information Classification: External Restricted.
See https://www.chili-publish.com/security

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 3 Next »

Concept

The Action Editor is the editor where the user can set up logic code and rules to manage / trigger all kinds of actions for use in a document.

From wherever actions are created (variables, document events, custom button bars), the same editor is used. See Getting Started with Document Actions for more technical information.

See below for an example of the editor :

Using the editor


Basic usage 

  • To add a new line of code, click the + icon
  • To remove a line of code, click the - icon
  • To move a line up, first select a line and click the up arrow
  • To move a line down, first select a line and click the down arrow
  • To duplicate a line, first select a line and click the copy icon

Advanced formatting

Since version 3.0.1 there are some more advanced formatting options added in the action editor.

To use these, first select a line and do CTRL-click (windows) or CMD-click (osx) on one of the icons mentioned above in the basic usage.

Adding & deleting lines

In the above example 6 new lines are added at once below line 5. To add multiple lines, do the following :

  • Select the line from where new lines will be added
  • CTRL/CMD-click the + icon
  • A popup appears where you can set the number of lines to be added
  • Click OK

To remove multiple lines, use the same procedure, but then use the - icon. When removing lines, the line selected is also included.

For example, if you select line 5 , CTRL/CMD-click remove, set 3 lines to remove, then line 5, 6 & 7 will  be deleted.


Moving lines


To move lines, do the following :

  • Select a line
  • CTRL/CMD-click the up or down arrow (resp. move up or down)
  • A popup appears where you can set the number of lines to be moved
  • Choose the move location, there are several options available in a pulldown list :
    • One Up : one line above
    • One Down: one line below
    • Top : to first line
    • Bottom : the last line
    • Relative line dif. : move x lines down relative from the current position
    • Absolute line num. : move to a specific given line location
  • Click OK


Copying lines


To copy lines, do the following :

  • Select a line 
  • CTRL/CMD-click the copy icon
  • A popup appears where you can set the number of lines to be copied
  • Choose the move location, there are several options available in a pulldown list :
    • One Up : one line above
    • One Down: one line below
    • Top : to first line
    • Bottom : the last line
    • Relative line dif. : move x lines down relative from the current position
    • Absolute line num. : move to a specific given line location
    • Document's Action clipboard : This will copy the action to the clipboard, so the action can be pasted in to another variable
  • Click OK

Above: when using the Document's Action clipboard, you have to name the action, and click OK to store it.


The stored actions are available from a pulldown list in the editor, use the Paste Scrap button to paste

the selected action on a chosen line location















  • No labels