Jump to content
Sign in to follow this  
Kiesp

get the keystrokes

Recommended Posts

Kiesp

hi... i quick question..

is there a command (or a set of commands) to record the keys pressed..

hotkeyset would take way too long cuz it has to be able to get all keys.


http://www.autoitscript.com/forum/index.php?showtopic=69911 <-- Best hacker ever :D

Share this post


Link to post
Share on other sites
SmOke_N

hi... i quick question..

is there a command (or a set of commands) to record the keys pressed..

hotkeyset would take way too long cuz it has to be able to get all keys.

_IsPressed()

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites
Kiesp

put dont is still have to define what key it should look for?


http://www.autoitscript.com/forum/index.php?showtopic=69911 <-- Best hacker ever :D

Share this post


Link to post
Share on other sites
SmOke_N

put dont is still have to define what key it should look for?

Well what do you want it to do... magically do it by itself? What are you needing it for anyway?

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites
Kiesp

i want to make a box that tells what the au3 code is for the pressed button.. ex. the end key is {end}


http://www.autoitscript.com/forum/index.php?showtopic=69911 <-- Best hacker ever :D

Share this post


Link to post
Share on other sites
SmOke_N

i want to make a box that tells what the au3 code is for the pressed button.. ex. the end key is {end}

Then use HotKeySet()...
HotKeySet('{END}', 'FunctionToDoSomething')

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites
Kiesp

ya.. i know.. but then ill have to make min. 53 hotkeysets.. i just thought if it could be done on an more eay way.. guess ill just have to make lots of hotkeysets


http://www.autoitscript.com/forum/index.php?showtopic=69911 <-- Best hacker ever :D

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.