Prefix VID / PID with 0x when using Copy button

This commit is contained in:
Clive Galway 2019-08-23 22:32:31 +01:00
parent bcaf382ad3
commit 9451b4cd49

View File

@ -68,7 +68,7 @@ Loop 2 {
continue
}
rowY := (marginY * 3) + ((A_Index - 1) * rowH)
fn := Func("CopyClipboard").Bind(strings[A_index].vid ", " strings[A_index].pid)
fn := Func("CopyClipboard").Bind("0x" strings[A_index].vid ", 0x" strings[A_index].pid)
xpos := columnX[devType] + idW + maxWidths[devType]
Gui, Add, Button, % "x" xpos " y" rowY - vhOff " h14 w" copyW " hwndhwnd", Copy
GuiControl, +g, % hwnd, % fn