windowchanged (<new window process name>)
Triggers when the focused window in windows has changed.
Parameters:
- The process name of the window that the focus has changed to.
Variable map:
- processname: The process name of the window that the focus has changed to.
- processid: The process ID of the window that the focus has changed to.