Skip to content
Knight Hat edited this page Nov 4, 2023 · 1 revision

Table of Contents

  1. Goto Page
  2. Bash Executor
  3. Play Audio
  4. Open File
  5. Open Website
  6. Run JAR File

Goto Page

Switch profile on connected mobile device.

Parameters

  • Profile: Show this profile

Additional Information

  • If set profile is removed at the time of execution, nothing will happen.

Bash Executor

Available exclusively on Linux and Unix like OS.

Run a bash script.

Parameters

  • Path: Location of a bash script

Additional Information

  • Task won't be applied if path is:
    1. Empty
    2. Invalid path
    3. File doesn't exist
    4. File isn't bash script

Play Audio

Currently, there's no method to stop the audio midway, nor there's a way to adjust audio's volume.

Play an audio file from start to finish.

Parameters

  • Path: Location of a supported audio file

Additional Information

To avoid headache, please have audio file ready in MP3 format.

  • Task will fail to run due to:
    1. Empty path
    2. Invalid path
    3. File doesn't exist
    4. File isn't supported

Open File

Attempt to execute a file based on its extension.
CAUTION, this may execute unwanted files that may contain virus or other malicious code.
Only execute files that you know exactly what they are and if they are safe, or avoid using this function all together.

Parameters

  • Path: Location of an executable file

Additional Information

  • File will refuse to execute if:
    1. Empty path
    2. Invalid path
    3. File doesn't exist
    4. Not an executable file
    5. Insufficient permission (Linux - add execute permission)

Open Website

Only available on Window

Open a website in your default browser.

Parameters

  • Address: Address of destination website

Run JAR File

Currently, there's no method to kill JAR program within the app. Therefore, make sure your app can terminate itself. Or at least, know how to kill an app from Task Manager or something similar.

Attempt to run a JAR file with default Java (JAVA_HOME).

Parameters

  • Path: Location of JAR file
  • VM Arguments: Java arguments that go before the "-jar" tag
  • App Arguments: Tags go after the "-jar" tag and directly to the JAR file

Additional Information

  • File will not execute if:
    1. Empty path
    2. Invalid path
    3. File doesn't exist
    4. Not a JAR file
  • If the file doesn't start, try executing it with command line:
    Execute: java [VM Arguments] -jar [Path] [App Arguments]