macaroni

restore

Description:
The restore executor is used to restore 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
- restore: (string)

# simple example
- restore: notepad.exe

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

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

EXAMPLE

# restores an application with a matching caption
commands:
- examples:
  - Restore Visual Studio Code
  - Restore Chrome
  triggers:
  - phrase: restore {application}
  execute:
  - restore: '{application}'

Status: ✅ IMPLEMENTED