Jump to content

help with ControlClick


Recommended Posts

hello!

I am trying to click on control using controlclick function.

It work fine but in a certain control I tried using it like this:

ControlClick("window name","","[Class:Button; Instance:1]","left", 1, 50, 50)

or

ControlClick("window name","","[Class:Button; Instance:1]","", 1, 50, 50)

but it does not work.

if I try "right click" it work so I dont know what is the problem.

ControlClick("window name","","[Class:Button; Instance:1]","right", 1, 50, 50)

Idea anyone?

thank!

Link to comment
Share on other sites

Try this:

ControlSend ( "window name", "", "[Class:Button; Instance:1]", " ")

or

ControlSend ( "window name", "", "[Class:Button; Instance:1]", "{space}")

or

ControlSend ( "window name", "", "[Class:Button; Instance:1]", "{enter}")

- 1 and 2 sends [space] to a button.

Edited by Godless

_____________________________________________________________________________

Link to comment
Share on other sites

Try this:

ControlSend ( "window name", "", "[Class:Button; Instance:1]", " ")

or

ControlSend ( "window name", "", "[Class:Button; Instance:1]", "{space}")

or

ControlSend ( "window name", "", "[Class:Button; Instance:1]", "{enter}")

- 1 and 2 sends [space] to a button.

no good...

the control only gets mouse click.

I have to click it but without using mouseclick function.

did anyone had that problem?

its very odd because "right" click does work.

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