AutoHotkey SendInput Problems -


[key mappings of new media remote]

http://i.stack.imgur.com/ivmsk.png

using autohotkey want interrupt keyboard keys sent appskey , browser_home , send key instead. unfortanately best can manage send key key function.

f3::sendinput {a}    browser_home::sendinput {a}    browser_home::sendinput    browser_home:: a

the first line 'f3 a' works intended; f3 key outputs letter a. 2nd , 3rd line browser_home launches browser home. 4rd line launches browser_home outputting letter a.

anyone know i'm doing wrong / know how fix script output without launching browser home?

according documentation under hotkey:

$ necessary if script uses send command send keys comprise hotkey itself, might otherwise cause trigger itself. $ prefix forces keyboard hook used implement hotkey, side-effect prevents send command triggering it. $ prefix equivalent having specified #usehook somewhere above definition of hotkey

try , report back: $browser_home::sendinput {a}


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -