macaroni

close

Description:
The close executor is used to close a specified window or application.

Parent: execute, then, else

Value (simple form): string specifying process name and/or window title (checks if either match)
Value (key/value form):

# simple form
- close: (string)

# simple example
- close: notepad.exe

# key/value form
- close: (string, required)
  process: (string, optional)
  title: (string, optional)
  exclude: (string, optional)
  all: (boolean, optional)

# key/value example
- close: notepad.exe
  title: favorites.txt

EXAMPLE

# closes an application with a matching caption
commands:
- examples:
  - Close Visual Studio Code
  - Close Chrome
  triggers:
  - phrase: close {application}
  execute:
  - close: '{application}'

Status: ✅ IMPLEMENTED