From 768d46a48d19a3c34278522d71b28f0ffa5f1518 Mon Sep 17 00:00:00 2001 From: Clive Galway Date: Tue, 5 Mar 2019 20:48:39 +0000 Subject: [PATCH] Fix missing & in handles --- Monitor.ahk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Monitor.ahk b/Monitor.ahk index 0ac1123..52f89f4 100644 --- a/Monitor.ahk +++ b/Monitor.ahk @@ -28,7 +28,7 @@ Loop 2 { if (!IsObject(dev)){ continue } - Gui, Add, Checkbox, % "hwndhCb w" colWidth, % "ID: " dev.id ", VID: 0x" FormatHex(dev.VID) ", PID: 0x" FormatHex(dev.PID) "`nHandle: " dev.Handle + Gui, Add, Checkbox, % "hwndhCb w" colWidth, % "ID: " dev.id ", VID: 0x" FormatHex(dev.VID) ", PID: 0x" FormatHex(dev.PID) "`nHandle: " StrReplace(dev.Handle, "&", "&&") fn := Func("CheckboxChanged").Bind(dev.id) GuiControl, +g, % hCb, % fn }