Jump to content

user input varriable


Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...