windowsautohotkeyhotkeysremap

Need to remap [ Win + . to Alt + . ] using AutoHotkey


I simply need help remapping Win + . to Alt + . using AutoHotkey! If you were wondering, this is the emoji panel shortcut. It's easier. quicker for me to use Alt as the modifier instead of Windows :)

my .ahk file reads:

!.:: Send, #. Return

but it just returns "::" text as a result.

I'm not a programmer (I'm an IT project manager) and I'm just trying to get this remap to work but am clearly missing something.

Help please!


Solution

  • This works here:

    AHK v1

    #Requires AutoHotkey v1.1
    
    !.:: Send #. ; one-line hotkey 
    

    AHK v2

    #Requires AutoHotkey v2.0
    
    !.:: Send "#."
    

    Try it first in a script with no other code and close all other scripts, in case something else interferes.