closeDescription:
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):
close: string, required, specifying process name and/or window title (checks if either match)title: string, optional, specifying window title (checks if specified title is contained in actual title)process: string, optional, specifying process file name, path and extension optional (checks file name and full name)exclude: string, optional, specifying process or window title exclusions (if process or title contains an exclusion, it will not be closed)all: bool, optional, specifying if multiple windows matching the title/process/exclusions specified, they will all be closed if true, only the first if false (default is false)# 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