taskbridgeapp.helpers.run_applescript

taskbridgeapp.helpers.run_applescript(script, *args)

Runs an AppleScript script.

Parameters:
  • script (str) – the script to run.

  • args – a list of arguments to send to the script.

Return type:

tuple[int, str, str]

Returns:

  • return_code (int) - the script’s return code.

  • stdout (str) - standard output from the script.

  • stderr (str) - standard error from the script.