Scripting
  • 14 Nov 2024
  • 1 Minute to read
  • Dark
    Light
  • PDF

Scripting

  • Dark
    Light
  • PDF

Article summary

Description

Create your own scripts to automate your device and its processes. 

With the snippets you can choose from a predefined set o scripts.

The test run enables you to verify that your script works as expected.

Tip!

You can create your custom variables to enhance the usability of the scripts.


Create new script

  1. Create a new script by clicking the plus+ icon on the main page.

  2. A new window opens, where you can define first of all the script  Name.

  3. Define your Script:

Tip!

You can use the Snippets and define your script.

Snippets button

Popup with a library of hardcoded codes is opened. You can insert these snippets to the script editor.

Docs button

Opens a new window with documentation with hints how to create your scripts.

Note: The documentation was created generically.

4. Define your script Mode, you can chose from:

  • Background - should be running with automatic restarts,

  • Triggered - stopped, can be executed but not right now,

  • Disabled - script will not be executed.

  1. Confirm your script configuration with the Save & exit button.

Script test run

  1. Use the Test run button to locally test the inserted script.

    Tip!

    Use the Stop button if the script does not end by itself.

  2. You will see the progress/result in the Console below.

    Example of “Play local file” script from the Snippets:

  1. Additional options using the icon buttons in the right upper corner of the Console field:

    Word wrap

    Wraps long text into next line

    Download

    Creates a file of the console items

    Clear all

    Removes the console content

    Scroll to bottom

    Gets you directly to the end  of the list

    Full screen

    Switches the window to full screen


Was this article helpful?

What's Next