Quote:
Does this happen with any function you run or just that one?
That's the Weird part... This is the only one that gets stuck in the tray like this.
Here is the complete scenario:
I have another function that works in tandem with this one.
Script 1:
- Removes the window border;
- Maximizes It to the center area of my Virtual Monitor;
- Enabled Taskbar Auto-Hide;
Triggers:
- Window Created - Target: Windows with specific Text (Usually the game's name);
OBS: I have a few games that do not support UltraWide aspect ratio. For these games I add this trigger to center them in my screen with proper aspect ratio and resoltution of 2560x1440.
Script 2 (This one that's getting stuck):
- Disables Taskbar Auto-hide IF ENABLED
Triggers:
- Window Focus - Target: Same as Script one, but on negative check (window names prefixed by "-") AND
- Window Destroyed - Target: Game window (same target as script 1)
OBS: When I focus any window that is not the game, the taskbar auto-hide is disabled if It was enabled (the if clause is to prevent executing the call in case the focus went from one window that is not the game to another window that is not the game). WHen I close the game (window destroyed) this function also runs to restore the taskbar as if no other window was opened, the auto-hide would remain enabled.
Script 3:
- Enables Taskbar Auto-Hide
Trigger:
- Focus on the game window (same filter match on window text)
OBS: When I focus the "chromeless" game window, the taskbar auto-hides again.
Info 1: None of the scripts 1 or 3 get stuck in the system tray. Only Script 2.
Info 2: All the scripts stop triggers when matched (checkbox on the trigger). So It never runs 2 Triggers per event.
Info 3: This script the only one with the negated window text trigger. Also, when I run It through a Hotkey, the script doesnt get stuck.
Here's the exact trigger:
Window Text: -"Steam Big Picture Mode" -"SHINOBI_AOV" -"World of Warcraft"