Ciantic / VirtualDesktopAccessor

DLL for accessing Windows 11/10 Virtual Desktop features from e.g. AutoHotkey
MIT License
772 stars 93 forks source link

No longer working as of 26301.1000 #81

Open etdr opened 11 months ago

etdr commented 11 months ago

My AutoHotkey script is definitely running because other hotkeys work, but switching desktops is not working anymore after the update to insider build 26301.1000. I don't expect support for insider builds, just wanted to let you know it's not working over here.

etdr commented 11 months ago

As an aside, one reason this sucks is that switching desktops on insider builds consistently takes a full 1-1.5 seconds when using official Windows methods and shortcuts. I've posted in the feedback hub about this and so have many others for months. This is the only way I've found to immediately switch between them (thank you!!!).

ondras commented 10 months ago

Just confirming that windows 11 build 22635.2915 is also broken.

ondras commented 10 months ago

Just confirming that windows 11 build 22635.2915 is also broken.

...but it was working on 22635.2850. Damn these MS updates :-(

itzjakm commented 10 months ago

check out this in the last release, it should work. If anything doesn't work as expected, please let me know.

ondras commented 10 months ago

Thanks, @itzjakm, it works! You saved my day.

I wonder if there is perhaps some way to make the whole process more resistant to those arbitrary API changes that typically accompany larger Windows patches.

For instance: is it simply sufficient to recompile some code once the MS windows update lands? I am willing to setup a proper build environment and compile stuff myself, eliminating the need to submit issues and reducing your time spent creating new releases.

itzjakm commented 10 months ago

This time they only changed the "Id's" (I don't know a lot about this programing language or whatever it is to know how it's called) at least in the part I care about, but there are another cases where they change things in the API itself and manual work is needed...

anxxx commented 8 months ago

check out this in the last release, it should work. If anything doesn't work as expected, please let me know.

Thanks itzjakm - really appreciated. Working perfectly with Build 22621.3155.

Added two lines to example.ah2 to move to the first desktop (0) at start-up and to set the system tray icon to Desktop 1

GoToDesktopNumber(0) TraySetIcon(".\Icons\1.ico")

Ciantic commented 8 months ago

@anxxx 22631.3155 is different, it's supported by the main line in this repo.