Can anyone help me do simple hotkey bat file


empleat

Well-known member
Local time
2:28 AM
Posts
116
OS
Windows 11 Pro 22H2 22621.963
I need .bat file which will convert key press like alt+w into output: as if you pressed cltr+shift+1. I don't want install AutoHotkey! Can anyone help me with this please i have chronic pain, i can't even read...
 

My Computer

System One

  • OS
    Windows 11 Pro 22H2 22621.963
    Computer type
    PC/Desktop
    CPU
    I5 9600 Kf
    Motherboard
    ASUS Z390-i Gaming
    Memory
    G.Skill Trident Z 3200mhz 2x8GB
    Graphics Card(s)
    RTX 3070
    Monitor(s) Displays
    AOC G2590fx
    Screen Resolution
    1920x1080
    Hard Drives
    NVME:
    Adata XPG8200 Pro (1024GB)
    HDD:
    WDC WD40EZRZ-00GXCB0
    PSU
    Corsair RX650RM .2018
    Keyboard
    Cooler master Nova Touch PRO
    Mouse
    MX VERTICAL ADVANCED ERGONOMIC MOUSE
    Browser
    Chrome, Firefox
NEver mind i used registry to achieve same, put to CMD as ADMIN:
Code:
@echo off


setlocal EnableExtensions EnableDelayedExpansion



REM Set the registry key to remap Alt+W to Ctrl+Shift+1

reg add "HKEY_CURRENT_USER\Control Panel\Keyboard" /v "RemapKeys" /t REG_SZ /d "2A,00,1D,00,38,00,2A,00,00,00,00,00" /f



REM Restart the Windows Explorer process to apply the changes

taskkill /f /im explorer.exe

start explorer.exe



echo "Alt+W remapped to Ctrl+Shift+1"
 

My Computer

System One

  • OS
    Windows 11 Pro 22H2 22621.963
    Computer type
    PC/Desktop
    CPU
    I5 9600 Kf
    Motherboard
    ASUS Z390-i Gaming
    Memory
    G.Skill Trident Z 3200mhz 2x8GB
    Graphics Card(s)
    RTX 3070
    Monitor(s) Displays
    AOC G2590fx
    Screen Resolution
    1920x1080
    Hard Drives
    NVME:
    Adata XPG8200 Pro (1024GB)
    HDD:
    WDC WD40EZRZ-00GXCB0
    PSU
    Corsair RX650RM .2018
    Keyboard
    Cooler master Nova Touch PRO
    Mouse
    MX VERTICAL ADVANCED ERGONOMIC MOUSE
    Browser
    Chrome, Firefox

Latest Support Threads

Back
Top Bottom