The Actions menu enables you to add actions to the elements that you added to your customized user interface.
Select one of your interface elements and the Actions menu appears in the center pane.
Note: Even though all Action menu options are displayed, not all actions are available for all types of interface elements.
This article explains the different action option and how they can be used successfully within your interface.
To add a command to an interface element:
- Select the Command option from the Actions menu.
A new command is added to the actions view of the center window pane. The new command is blank, with no data.
- Select a command category from your device and drag the relevant command to the interface element placeholder in the center window.
Adding a conditional action is the first step in logic based programming.
To add a conditional action:
- Select the Conditional option from the Actions menu.
The initial IF statement is added to the actions section of the center pane.
- Add a state to the IF statement.
- Add other actions within the the IF statement.
See the Conditional Logic article for more information about how to write IF statements.
Add a delay to create a time delay between the execution of one action and the next. The length of the delay can be adjusted in the properties window. Delays are configured in second increments.
Adding an executable macro uses only previously created macros that are displayed in the left pane. These macros can be used across interfaces and across different elements within the interface.
To add a Macro to one of the interface elements:
- Select the Execute Macro option from the Actions menu.
A list of macros is displayed in the properties window.
- Select the relevant macro.
Navigation is used to direct the end user to a different place within the interface. The user can be directed back to a previous page, to a new page or into the admin section. Once navigation is added to the actions area, the properties window updates and provide tabs to select the one of the options of back, specific page and admin.
Update Property is used to adjust an element within the user interface. The target element is displayed within the properties section of the Update Property. Any property option found within the target element can be changed by pressing the button. Things that can be updated include Font, Image, Overlays and much more.
Click here for an example of about how to change a frame found within a page using Update Property.
Toggle Property executes upon tap, press or release. Including a Toggle Property for Font, Bold, Alignment, Hidden, Image Size, or Repeat on Hold causes the button to change based on the dropdown list of the interface element. For example, toggling a button’s font changes the font from Helvetica, to Helvetica Neue, to Helvetica Neue Light and so on thru the dropdown list.
NOTE – Simulate gesture is only available within Button actions.
This feature allows the programmer to execute actions from different action types (Tap, Push, Release) within each action type.
- For example, if you want to execute a PUSH action when a single Tap of the button occurs, you can add the Simulate Gesture – PUSH to your Tap section of the button
- The benefit to this type of programming is from not having to reprogram the TAP action if you are required to change the PUSH action that previously existed