To create an action, select Action Editor in Tools menu, or select PHP Action from File Manager menu.
After that you'll see the following screen:
Creating action.
First step, you must enter the name, description (optional), then select the type and folder. By default, the type of all created custom actions is procedural (procedure). Procedural actions can be invoked from applications and Web sites, for this use two javascript functions:
executeAction ('action_name');
executeActionSendAll ('action_name' [, options]);
Example of invoking an action from GYRE editor:
The second step is editing actions.
After action is created it's automatically added to SVN-repository. SVN is an open source software versioning and revision control system. More about SVN here.
Action is opened in a special source code editor with syntax highlighting. It is possible to open several files/actions at the same time. Each file/action opens in its own tab.
Everytime you press Save button, the difference between previous version and current version is stored in SVN. You can view this difference by selecting two actions in History and press Diff button. It shows what has been added and what has been removed. More about diff-format here.
You can modify the name and description of the action and set a schedule for its automatic run by pressing Properties button. The schedule indicates the number of hours between the runs and the total number of runs (0 - unlimited). For example, if you want the action to run every 12 hours unlimited number of times, in the Run every field enter "12" and in the Run count field enter "0".
Also you can attach another action (library-action) and use its functions. To do it press Libraries button.
To view API-functions with descriptions and usage information, click API button.