FuPeiJiang / VD.ahk

Windows Virtual Desktop, AutoHotkey, Windows 11 support, Windows Server 2022, switch desktop, move window(wintitle) to current desktop; createDesktop, PinWindow, getCount, getDesktopNumOfWindow -> mute all windows in Virtual Desktop
MIT License
319 stars 45 forks source link

Ah2: Desktop Looping & Switching + Other Feature Regression from Commit ee2f54f626914273f00853306c1daaf803f756cb #53

Open Stan-Stani opened 10 months ago

Stan-Stani commented 10 months ago

If I revert to before ee2f54f626914273f00853306c1daaf803f756cb I don't have the issues.

Looping works for a bit but if the gui window is deselected it stops working in a few seconds and I can't even navigate using Ctrl+Win+ArrowKey. If I close the gui it breaks all functionality immediately.

Stan-Stani commented 10 months ago

I am on Win 11 btw.

Stan-Stani commented 8 months ago

I finally figured out that for some reason the changes after that commit I posted above makes using the Arrow Keys not work. E.g.

^#left::VD.goToDesktopNum(1) ^#down::VD.goToDesktopNum(2) ^#right::VD.goToDesktopNum(3) ^#up::VD.goToDesktopNum(4) does not work.

So I substituted

^#J:: VD.goToDesktopNum(1) ^#K:: VD.goToDesktopNum(2) ^#L:: VD.goToDesktopNum(3) ^#I:: VD.goToDesktopNum(4) and now they're working fine.