Home ·

- Executing scripts

# Executing scripts

## The "-x, --execute" option

The "-x, --execute" option is used to execute a QML script. This option cannot be used with any of the "-m, --monitor", "-a, --applet", "-p, --port", "-d, --device" or "-b, --board" options but can still be used with the "-t, --tracelevel" option.

The "-x, --execute" option must be followed by the filename of the QML script to be executed. This option doesn't accept any additional parameter.

    sam-ba -x <qmlfile>

    $ sam-ba -x script.qml