diff --git a/Process-condition.md b/Process-condition.md new file mode 100644 index 0000000..073a6a8 --- /dev/null +++ b/Process-condition.md @@ -0,0 +1,20 @@ +The "Process" [macro](Macros) condition allows you to perform actions based on if a particular process is running or not. + +![Process](https://user-images.githubusercontent.com/19472752/208189360-540da3c9-9c01-4711-900d-99f20c0b102d.png) + +You can either select the process name from a list of the currently running processes or enter it manually at (1). +The input field also supports regular expressions in case it is required to match patterns of process names. + +By default the condition will return true if the process is currently running. +You can additionally select that the condition shall only return true if the given process is also currently focussed at (2). +Note that this can only ever be true for processes that have some sort of window associated with them. + +The currently focussed process will be displayed at the bottom of the condition if the option (2) is selected. + +## Windows specific notes + +If you want to know the process name of a particular application that is shown in the task manager's "Processes" tab, right click on the given process and select "Properties". +This will open up a dialog showing the name of the process binary instead of just the process description. + +![Zoom1](https://user-images.githubusercontent.com/19472752/208190746-5609a0ee-62e0-4094-8588-56b70d5cc39b.png) +![Zoom2](https://user-images.githubusercontent.com/19472752/208190753-865abf48-81e7-42bc-a8db-54f6ffa09b7a.png)