Jump to content

ControlSend() issue


crackito
 Share

Recommended Posts

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
Link to comment
Share on other sites

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.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

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