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
348 stars 47 forks source link

Script sending "Q" to discord | Desktop switch failure. #45

Closed ozzynotwood closed 1 year ago

ozzynotwood commented 1 year ago

Hello, thanks for this script, I've needed this for a long time. I would like to report some bugs...

When using Discord for Windows, the Numpad1, Numpad2 & Numpad3 buttons produce 2 problems when the Discord window is active: ❌ The desktop does not switch. ❌ The letter Q is sent to the Discord chat. A "Send q" is on line 559 which may explain the Q being sent to discord.

UPDATE: This also happens with EmClient (email software), I suspect this will happen in more applications now.

Bug Bug2

I also use Numpad 4-9 (so the whole numpad) & the bugs apply to all keys.

Can you please have a look at possibly fix this?

Thanks!

Others following: @anonymous1184

FuPeiJiang commented 1 year ago

@ozzynotwood @anonymous1184

CreateRemoteThread works differently for 32bit apps, my oversight

try the update ? I currently have a problem where (sometimes) switching VD is slow, I want to know if it happens on your computers too

ozzynotwood commented 1 year ago

This now & works & is still high-speed :)