VD.ahk icon indicating copy to clipboard operation
VD.ahk copied to clipboard

After pinning with AH2 version, I get an error when switching desktops by number.

Open jeffchiou opened this issue 1 year ago • 0 comments

Before pinning any windows, switching desktops by number works fine. After pinning, I get an error. image I fixed it by changing line 597 from

if (guid_to_desktopNum[strGUID] == desktopNum) {

to

if (guid_to_desktopNum.Get(strGUID, -999) == desktopNum) {

but I don't know if that's a good fix or not.

I'm using Windows 11 and AHK 2.0.2

jeffchiou avatar Jun 08 '23 21:06 jeffchiou