keyboard shortcuts - Autohotkey - AltGr hotkey behaves differently from LAlt hotkey -


i'm trying map lalt+space delete , altgr+space backspace, made script :

<!space::delete <^>!space::backspace 

lalt+space gets mapped correctly delete, altgr+space doesn't work : removes words ctrl+backspace instead of removing 1 character @ time.

i switched 'delete' , 'backspace' , got same issue : lalt+space works altgr+space removes words ctrl+delete instead of characters.

i'm guessing might have fact altgr ctrl+ralt, ctrl might composed backspace or delete @ point ?

does know cause of be, , solution ?

while @user3419297's answer correct, it's advisable in modern versions of ahk use sendinput on send.

<!space:: sendinput, {delete} return  <^>!space::  sendinput, {backspace} return 

Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -