Search found 3 matches

by nbook
09 Aug 2023, 13:10
Forum: Ask for Help (v2)
Topic: Remap Win key when it's pressed alone Topic is solved
Replies: 7
Views: 554

Re: Remap Win key when it's pressed alone Topic is solved

Welcome to this AutoHotkey forum! Possibly: #Requires AutoHotkey v2.0 ih := InputHook(), ih.KeyOpt('{All}', 'E') LWin::ih.Start(), ih.Wait() LWin Up::ih.Stop(), Send(ih.EndKey = '' ? '^{Home}' : '#{' ih.EndKey '}') This may need adjustment for modifier combinations. Hmm, I actually find the behavio...
by nbook
09 Aug 2023, 11:23
Forum: Ask for Help (v2)
Topic: Remap Win key when it's pressed alone Topic is solved
Replies: 7
Views: 554

Re: Remap Win key when it's pressed alone Topic is solved

Welcome to this AutoHotkey forum! Possibly: #Requires AutoHotkey v2.0 ih := InputHook(), ih.KeyOpt('{All}', 'E') LWin::ih.Start(), ih.Wait() LWin Up::ih.Stop(), Send(ih.EndKey = '' ? '^{Home}' : '#{' ih.EndKey '}') This may need adjustment for modifier combinations. Wow, works like a magic! I learn...
by nbook
09 Aug 2023, 04:15
Forum: Ask for Help (v2)
Topic: Remap Win key when it's pressed alone Topic is solved
Replies: 7
Views: 554

Remap Win key when it's pressed alone Topic is solved

Hello, I'm new to AHK and I'm stucked at a probably very simple problem. I want to remap Win to Ctrl + Home only if Win is pressed alone and other Win shortcuts (Win+Tab, Ctrl+Win+→, etc.) should not be affected. I tried the solution in this thread , it sends Ctrl+Home when press Win alone, but it a...

Go to advanced search