Jump to content

Recommended Posts

Posted

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!

Posted (edited)

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

_____________________________________________________________________________

Posted

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.

Posted

Hi,

Try removing the Window name and just reference the control.

Example.

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

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