Is there an event triggered when I am unfocusing a window? (Tasks) The goal is:Make windows semi-transparent when unfocused and set opacity=100 when focusing.
There isn't, as there's no global Windows message generated when a window loses focus. Have you tried the Monitor Fading feature? It has a mode for fading everything except the currently focused window