In addition to the MOBILE Lab Presenter's Sync MOBILE Session Content action,
user-defined actions can also be added to MOBILE. The Sync Session and user-defined actions can be found in
the /opt/mobile/global_actions
folder. Here, child directories become labels for groups of actions
(such as "Configuration" for the sync action which is then found at /opt/mobile/global_actions/Configuration
.
To add a new action group:
- Create a new directory under the global_actions directory (ex:
/opt/mobile/global_actions/MyNewActionGroup
)
To add a new action to an existing action group:
- Locate the action group's corresponding directory (
/opt/mobile/global_actions/(Action Group's Name
) - Add your own shell script with a ".action" extension to this directory (ex: "my_new_action.action").
(underscores in the actions's file name will be replaced by spaces when running the Presenter software)
NOTE: While the Sync MOBILE Session Content action may give an indication that perhaps actions are run on client computers, actions in MOBILE are executed locally (it only seems this way as the sync action utilizes the rsync utility to communicate with other machines). To create a similar action, feel free to use the sync session action as an example or use the Send File pseudo-action (which allows the presenter to run a selected executeable file on client machines.