Jump to content

ControlSend Issues


 Share

Recommended Posts

ControlSetText($window, "", 1038, "")
  Sleep(100)
  ControlSetText($window, "", 1038, $macro)
  Sleep(100)
  ControlSend($window, "", 1038, "{ENTER}")

I am using the above code to send change input bar text and then use enter to send it, this is inside a while loop.

I need it to basically do that action on a minimized window, this works fine but has a few cons.

At first, capslock was flickering so I added Opt("SendCapslockMode", 0), which solved that issue.

My other issue is that it messes up with ctrl/shift and double clicking.

Sometimes when I hold down ctrl/shift and it's like it isn't held down, I notice it with ctrl+c/v mostly.

And double clicking just doesn't always work.

If I remove those sleep(100)s, it'll be far more noticable.

I'd like to know if there's any solutions/workarounds to those issues.

Thanks.

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