Virtual Desktops : use active desktop as entire scope

Have a suggestion for "Everything"? Please post it here.
Post Reply
meteorquake
Posts: 497
Joined: Thu Dec 15, 2016 9:44 pm

Virtual Desktops : use active desktop as entire scope

Post by meteorquake »

When you use a shortcut (or right-click) to open the most recent everything window, it does exactly that even if it's on a different virtual desktop (as per Win-Tab).
Generally if there are Everything windows on different virtual desktops I'll want the show window command to show the most recent one on the active desktop if available rather than most recent one of all desktops, in accordance with how different virtual desktops are usually being used for different task sets.
If there's no most recent one on the desktop but there is one on another desktop I'll usually want it to create a new window rather than switch desktops.
So in summary, the show window command would be treating the current desktop as if that's all there is. I suppose there are going to be so few windows at any time and windows can be moved that it could just scan the windows to see what's available rather than have a last window tracker for each desktop.
I guess if there are alternative thoughts on this an option could cater for different preferences.
David
Mattwmaster58
Posts: 3
Joined: Fri Apr 17, 2020 8:50 pm

Re: Virtual Desktops : use active desktop as entire scope

Post by Mattwmaster58 »

I have the exact same request. In the meantime, I wrote this AHK 2.0 script to emulate this behaviour. The exact functionality may not be identical to the Toggle Everything Window global shortcut, but it's close enough for me. I cleared the Toggle Everything Window shortcut, and set is as the shorcut for this AHK script. I find it works quite well: https://gist.github.com/Mattwmaster58/0 ... 310bb603aa

Instead of hiding on toggling, it minimizes it. I wasn't able to simply hide the window, because windows on different desktops are considered hidden and I didn't want to deal with that.
Post Reply