launch
Opens applications, folders, documents, or Windows Settings pages like a double-click, reads back the result, and passes arguments to executables without taking the user's foreground.
Instructions
Open an application (name such as "notepad.exe", or path), a folder or a document, like a double-click; the
opening is read back. Settings page: app="ms-settings:display" (opened behind the user's window, read back).
Refused: web addresses http, https, ftp (web pages: nexus-browser). args: arguments of a .exe program (a file to
open…), never for a document, a folder or an address; also accepted after the program in app, a path with
spaces is never split. Chromium/Electron apps: files only, never a switch.
Example: {"app": "notepad.exe", "args": "C:\Dev\notes.txt"}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | ||
| args | No |