Rydextillxixdiex Posted June 21, 2008 Share Posted June 21, 2008 is it possible to recieve a users key board button and assign it a variable to later be used in a script? Also not only a letter key, page up, home, and other buttons of this nature if it makes a difference. Thanks for any help and please excuse any typos this is coming from my iPhone. ...will never learn all there is to know about autoit, no worries...i came to the forums :) Link to comment Share on other sites More sharing options...
enaiman Posted June 22, 2008 Share Posted June 22, 2008 Help quote: _IsPressed -------------------------------------------------------------------------------- Check if key has been pressed #Include <Misc.au3> _IsPressed($sHexKey[, $vDLL = 'user32.dll']) Parameters $sHexKey Key to check for $vDLL Handle to dll or default to user32.dll Return Value True: 1 False: 0 For key codes, check the help page. SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script wannabe "Unbeatable" Tic-Tac-Toe Paper-Scissor-Rock ... try to beat it anyway :) Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted June 22, 2008 Share Posted June 22, 2008 Don't forget we have HotKeySet() and GUISetAccelerators() to! .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now