Jump to content

button click


Recommended Posts

Have tried many things, seems I cant identify the button , cant get a handle to it, cant click it:

ANY TIPS? Thanks.

-control ID copied from Auto It Window Info

1)

WinActivate ("iMedic Explore")

$hHandle = ControlGetHandle("iMedic Explore", "", "[CLASS:WindowsForms10.BUTTON.app.0.202c666; TEXT:Logout; INSTANCE:3]")

$SuccessFailCode = _GUICtrlButton_Click ($hHandle)

MsgBox($SuccessFailCode) ;returns "0"

2)

ControlClick("iMedic Explore", "", "[CLASS:WindowsForms10.BUTTON.app.0.202c666; TEXT:Logout; INSTANCE:3]")

;does nothing

3)

$hHandle = ControlGetHandle("iMedic Explore", "", "[CLASS:WindowsForms10.BUTTON.app.0.202c666; TEXT:Logout; INSTANCE:3]")

MsgBox(_GUICtrlButton_GetText($hHandle)) ;returns nothing

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