Macro Editor

Macros are constructed and maintained within the Macro Editor.

The editor is invoked from the Flexi-deck menu bar item.

There are three a main areas to the Macro Editor;
Folder and macro layout that defines the folder structure containing the macros.
Macro action list defining the actions associated with the selected macro.
Action parameters defining the settings for the selected action in the macro action list.

Macro Folder Structure

At the highest level this shows the macro sets:

 Set  Description
Built-in This is a macro set shipped with the software to mainly act as example macros but also ones that also may be of use when called from within user created macros.
This is a fixed set of macros that cannot be edited and may change with each release.
Global This is empty when first installed but is used as a repository for completed user created macros that can be invoked from within other user created macros.
Macros can be copied to the folder from completed project macros (if they are deemed useful in other projects)
Project Macro sets build by the user and associated with a specific project.
These are the macros created for the automation of tasks associated with a project.  e.g. they may contain all the macros needed to automate tasks within a specific application.

The Project folders and macros are maintained by the macro folder control panel:

This allows you to structure the folder layout to suit your needs and allows you to add folders and macros at the project level.  Built-in folders and macros are fixed and cannot be edited. The Global folder and macro structure can be added to via the 'Copy to Global Library' option. Global and project folders and macros and can be deleted using the delete option.

When the columns extend beyond the available space you can scroll the columns left and right. If you have a regular mouse with a scroll wheel this can be accomplished by holding the shift key, if you have a trackpad you can do a two finger drag in any direction or you can click and drag on the scroll bar.  If the scroll bar is not shown then to set it to be visible at all times set System Preferences > General "Show scroll bars" to "Always".

Macro Action List

This area is used to construct the Actions related to the selected Macro in the macro folder structure.

The title bar will show the name of the selected macro.

The action control panel is used to maintain the action list associated with the macro:

Using the Add action and/or the Add nested option (links to a Built-in or Global macro) you build the complete automated process one element at a time.

The Add action will add the Action to the bottom of the list of actions. You can drag and drop the action to the desired place in the action list.  You can select multiple action entries using the shift modifier key whilst selecting the actions and perform the required function on all selected actions.

The Edit Hotkey option allows you to associate individual keyboard shortcuts, using the Hotkey Editor, to invoke the macro in the 'live' environment via the keyboard.

Testing the macro during construction

The 'Run Macro' option allows you to run/test the macro from within the editor.

Keyboard shortcuts can also be used to run the current macro.  The Global shortcut is useful when, for test purposes, you need to run the macro from outside the editor, leaving focus as is.

Usage  Keystroke Description
Local Command+M Run the current macro when the Macro Editor has focus 
Global Command+Ctrl+M This shortcut can be used to run the current macro at any time without affecting system focus so can be used to test the macro that requires system focus to be on the target application.

This shortcut is defined in the Flexi-deck preferences so can be changed as required.