Jump to content
Sign in to follow this  
Rydextillxixdiex

user input varriable

Recommended Posts

Rydextillxixdiex

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 :)

Share this post


Link to post
Share on other sites
enaiman

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 :)

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.