-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A problem with the new Windows update 11 #55
Comments
I encountered the same issue. VD.ahk can't be used anymore. |
I encountered the same issue. 😭 |
I'm having the same issue! |
Same issue, Also looks like VirtualDesktop.cs has a newer version. I tried replacing that but it seems the UUID have changed. Awesome script by the way, it makes moving current windows between VDs so easy. so PLEASE FIX :-) |
Just updated and yes it stopped working. I don't know enough to fix it so I am hoping it will be fixed soon 🙏 windows is a pain to use without this. |
Has worked perfectly until latest Windows updates (KB5031217) and (KB5030219) installed last night Now receive error message when I attempt to switch desktops: Error: This value of type "Class" has no property named "GetDesktops".
▶ 086: DllCall(this.GetDesktops, "UPtr", this.IVirtualDesktopManagerInternal.Ptr, "Ptr", 0, "UPtr*", &IObjectArray := 0) Any solution would be greatly appreciated. |
I ran into the same issue. I was was able to resolve issues for my personal workflows. you can see my changes here. I didn't post an MR for a couple of reasons:
It was a headache tracking down the updated interface id's. @MScholtes Virtual Desktop project is an amazing reference. thanks to him and @FuPeiJiang for their contributions to open source. hopefully my commit is useful for others. ❤️ |
@mac-s-g Thank you so much! That fixed things for my use case ( |
@mac-s-g Many many thanks and for finding a solution so quickly. Your changes work perfectly with Windows build 22621.2283. Having just programmed a Stream Deck keyboard to enable me to switch desktops and move apps with a single keystroke I was distraught that it was no longer working. Anyway, you have saved the day - at least until the next Windows update! |
Me and my friend are on AHK V1 and can confirm that the update has broke it too. Any chance of a fix for V1 too? |
@RalfReddings i ported my changes over to the hope this helps. fyi - |
Thanks so much for this fix! |
My scripts based on _VD.ahk also stopped working, waiting for a solution. |
Thanks @mac-s-g . I had to further modify VD.ah2 to get it to work on my windows 11 build 22621. |
thanks for the fix @daveM246! i committed the change to my v2_port branch and it resolved an error that cropped up recently. |
I replaced the first 92 lines into my current VD.ah2 and now it works. Thanks @daveM246 and @mac-s-g ! v2_port...mac-s-g:VD.ahk:v2_port Edit The reason I only replaced those lines was because I had an older commit checked out due to #53 . (I'm not sure if it's the one I posted or actually 7978eb5) But after booting up today I was only getting errors for VD.ah2 so ended up just checking v2_port current again and replacing VD.ah2 with your version and now it's working. Thanks!
does not work. So I substituted
and now they're working fine. |
If you've been hanging out with a forked or locally modified version of VD.ahk, I recommend giving the latest version here a try; it looks to me like the issues have recently been fixed but that just wasn't communicated at the time. |
@Viqsi Thanks for dropping the note! Things are now working as normal in my AHK V1 script. (I updated the |
Error: (0x80004002) No such interface supported
▶ 028: this.IVirtualDesktopManagerInternal := ComObjQuery(this.IServiceProvider.Ptr, "{C5E0CDCA-7B6E-41B2-9FC4-D93975CC467B}", IID_IVirtualDesktopManagerInternal_)
029: this.MoveViewToDesktop := this._vtable(this.IVirtualDesktopManagerInternal.Ptr, 4)
030: this.CanViewMoveDesktops := this._vtable(this.IVirtualDesktopManagerInternal.Ptr, 5)
The text was updated successfully, but these errors were encountered: