Jump to content

Recommended Posts

Posted (edited)

Hi everyone,

I've made a software that sends keystrokes to the window just like this:

ControlSend($WindowName, "", "", "t")

It works just fine but it sometimes messes the keyboard up. It's like if control / alt / shift were pressed all the time. I mean, when the bot is running if I press "w" It may type "W" and if I press "4" it may type "$" which in my keboard would be "Shift + 4" . Same happens with Control and Alt keys.

Am I missing something? Might it be that the delay I use is too short?

Thanks for your time!

Edited by crackito
Posted

Hi everyone,

I've made a bot to a game, it sends keystrokes to the window just like this:

ControlSend($WindowName, "", "", "t")

It works just fine but it sometimes messes the keyboard up. It's like if control / alt / shift were pressed all the time. I mean, when the bot is running if I press "w" It may type "W" and if I press "4" it may type "{:content:}quot; which in my keboard would be "Shift + 4" . Same happens with Control and Alt keys.

Am I missing something? Might it be that the delay I use is too short?

Thanks for your time!

See here

AutoIt 3.3.18.0 X86 - SciTE 5.5.7WIN 11 24H2 X64 - Other Examples Scripts

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
×
×
  • Create New...