Jump to content

Help about keypress


Shafayat
 Share

Recommended Posts

I am trying to create a software to simulate mouse click or movements with keyboard. So I want to make a system for configuring the keys (as in most professional games).

But it is too tedious to set all the hotkeyset() manually. I heard there is a way to get the key pressed without setting individual entries.

So, help me.

Regards

Shafayat

[Not using this account any more. Using "iShafayet" instead]

Link to comment
Share on other sites

  • Developers

Doesn't matter what you call it but you do want a script that registers keypresses thus a keylogger.

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Yeah. But it does NOT work in background and logs every keypress.

For example..

First I have this ini file:

[GLOBAL]

UP=W

DOWN=S

LEFT=A

RIGHT=D

Now, if the user runs the key changing exe, it will ask the user to press any one key (NOTE THAT ONLY ONE) that he likes to enter for UP (instead of W) and the like....

If I assume the user pressed E then the ini would be like:

[GLOBAL]

UP=E

DOWN=S

LEFT=A

RIGHT=D

How come this is keylogging????

I still need help.

[Not using this account any more. Using "iShafayet" instead]

Link to comment
Share on other sites

Just an observation.

Assigning hotkeys is as quick (if not quicker) and easier for your legitimate purpose, as any other method, and you could have done it 100x over in the time between your posts.

Only trying to save you some time, as no-one here is going to help you log keys.

Good luck with your game.

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

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...