When I click the taskbar and then do LWin+ LAlt, this is what KeyHistory spits out: VK SC Type Up/Dn Elapsed Key Window One thing I have noticed is that if I click the taskbar, and THEN do LWin+ LAlt/ LCtrl, I can switch back and forth smoothly by holding down LWin and alternating between LAlt and LCtrl. So my question is this: is there a way that I can set the focus on the current desktop before executing the command to switch desktops? Or maybe, is there a different way that I can switch desktops without simulating the default Win 10 shortcuts? I've played around with ControlClick a bit, but never got that to work. I tried using the Click function to simulate a click before it switched desktops (which worked), but it moved the mouse to the coordinates that I clicked, which obviously is not what I want. This code works, but only if you click a window or anything else on the current desktop before pressing the keys. ![]() ![]() #LCtrl::^#Left switch to next desktop with Windows key + Left CTRL key I wrote this code so that I could switch desktops with my own custom keyboard shortcut instead of using Windows 10's default shortcut (WIN + CTRL + LEFT/RIGHT).Ĭode: #LAlt::^#Right switch to next desktop with Windows key + Left Alt key I have written a small AutoHotKey script to switch virtual desktops in Windows 10.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |