double click close window default command shorcut

Discussion, questions and support.
Post Reply
Noobie
Posts: 1
Joined: Jan 22nd, ’23, 16:28

Post by Noobie » Jan 22nd, ’23, 16:36

WinGetClass Class, A
If (A_ThisHotKey = A_PriorHotkey && A_TimeSincePriorHotkey < 350)
If Class in MozillaWindowClass,IEFrame
Send ^{vk57} ;Ctrl w
Else
Send !{F4}

Image

For some reason if I hold down the Control button too long, like a long press, it works just like a long press. I want it to work only when I double tap. I want to be able to hold down Control button forever if I want to without it closing down any window.
User avatar
Tom
Posts: 791
Joined: Nov 24th, ’15, 23:39

Post by Tom » Jan 28th, ’23, 21:39

Have you tried checking "Double press" option for the shortcut? Have you tried another key combination?
Post Reply