Ah, I sort of assumed that with a window filling the screen, you wouldn't be switching, so I didn't even consider it :).
Let me ponder that a bit.
-rob.
Ah, I sort of assumed that with a window filling the screen, you wouldn't be switching, so I didn't even consider it :).
Let me ponder that a bit.
-rob.
The fix was actually simple; I just had to think about it from a different perspective. Try this version:
app-Terminal Macros.kmmacros (41 KB)
The watcher macro is now reversed from how it worked before:
As long as it finds a fill-the-screen app somewhere in Terminal's windows, nothing happens. As soon as it vanishes, though, then the window is restored and the macro clears the globals and disables itself.
It worked well in my testing, but let me know if you see any oddities that it doesn't catch.
-rob.
That does the trick! Thanks again! Will definitely report back if I encounter anything else unexpected.