Window shown
Use this to trigger when a window is shown. This does not necessarily mean it is a new window, as a window can be hidden and shown multiple times. If you want to trigger only the first time a window is shown, it may be more relevant to look at the "Window created" (`window:opened`) trigger instead.
Arguments
window
— Window
Which window do you want this trigger to respond to? Defaults to any window. Find windows by searching for the process name, window class and window title. All parts support wildcards or regular expressions. When setting up this command in the user interface, a nice editor is provided for the separate parts. When searching from the command line, the syntax is: \[process name]\[window class]\[window title]. All parts are optional, meaning you can use "\\\Untitled - Notepad" to find the window with that title. Wildcards are supported for each part. You can use regular expressions by surrounding the part with forwards slashes: "\\\/.* - Notepad/" will find any Notepad window, and is equivalent to "\\\* - Notepad".