Jump to content
Sign in to follow this  
OnTheFly

Catch key down.

Recommended Posts

OnTheFly

Okay, just made another topic where it sounded like i wanted to do a keylogger. Sry. Ok, how can i catch a keypress and store it to a variable. Or with an input box.

Share this post


Link to post
Share on other sites
Valik

Just a word of advice, when somebody locks your thread, don't create a new one asking the same damn thing. In fact, you actually made things slightly worse, now it's unclear if you're asking for a keylogger or if you just want to accept user input. I suggest you put some more thought - and more words - into the next question you ask.

Share this post


Link to post
Share on other sites
OnTheFly

Sorry for all this. I meant i want ability to write in a input box and save whatever you write in s variable or text file. I'm a 15 year old swede, so my english aren't so damn good.

Share this post


Link to post
Share on other sites
Jos

Sorry for all this. I meant i want ability to write in a input box and save whatever you write in s variable or text file. I'm a 15 year old swede, so my english aren't so damn good.

No need to capture the text typed. an InputBox will return the text type into a variable.

When using GUI commands, you can read the InputControl with the GUICtrlRead() command.

Just look these up in the helpfile and look at the examples ..

Edited by JdeB

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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  

×