Sending Scripts to Devices

About this task

The Remote Control page enables you to send a SOTI MobiControl script to a device. You can select one of the predefined scripts that come with SOTI MobiControl and send it as is or change it before sending. You can also write your own custom script from scratch.

For a full list of available script commands, see Using Script Commands in the SOTI MobiControl Help.

Procedure

To send a script to a device:
  1. Start a remote-control session ( see Remotely Controlling Devices) for the device you want to send a script to.
    The remote-control page opens.
  2. At the top of the remote-control page, select the Menu button located to the right of the device name and select Send Script.
    Remote control menu
    The Send Script dialog box opens.
  3. On the left side of the Send Script dialog box, select one of the predefined scripts. Ff you want to create a new script from scratch, select One-Time Script.
    Send script window
    If you select a predefined script, the script appears in the Script editing field where, if required, you can change it.
  4. In the Script field, enter or change the script commands as required.
    For information about the syntax of each script command (see Using Script Commands in the SOTI MobiControl online help).
  5. When you finish editing the script, select the Send Script button.
    The Send Script dialog box closes and device receives the script.

Results

Once the script has finished running on the device, you can check the results on the Remote Control page.