I set up the trigger as mentioned in the script: Event "Window Focused", as frequency I tried everything and finally settled with "Once-per-Process Name", match conditions are "Process Filename: all *.*". I tried with and without a delay of 250ms. I entered the required things in the script itself, too.
The problem is, the trigger is not firing reliably. It only works, when I restart Display Fusion after I started the game after a few seconds (the tray icon of Display Fusion appears after restart, disappears then for a second and reappears; that's when the script suddenly works). What is also strange is, that firing the script with a hotkey does not work either.
Is there anything else I can try, some different settings maybe?