Jump to content

Recommended Posts

Posted (edited)

I can't get ControlClick to work. I test with the following code:

  $Text = ControlGetText ("PowerSDR", "", "[CLASS:WindowsForms10.BUTTON.app.0.34f5582_r11_ad1; INSTANCE:41]")
  MsgBox($MB_SYSTEMMODAL, "", $Text, 2)
  $Success = ControlClick ("PowerSDR", "", "[CLASS:WindowsForms10.BUTTON.app.0.34f5582_r11_ad1; INSTANCE:41]")
  MsgBox($MB_SYSTEMMODAL, "", $Success, 2)

ControlGetText  does give the correct result, eg the text on the button.

ControlClick does return '1' (Success) but the button is not clicked as expected. Adding additional parameters (button and clicks) does not change anything.

I am running under Windows 8.1 Pro

Any suggestions please?

Edited by Radioham

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