Jump to content

How to click button in a toolbar having tooltip name?


lallan
 Share

Recommended Posts

Thanks Automationuser.I tried to do the same but there is issue. I am trying to click on button of toolbar for a frame which is added to the main window. In that case i have used below code.

WinActivate("Frame_XYZ")

$hWnd = ControlGetHandle("[CLASS:Frame_XYZ]", "", "[CLASS:ToolbarWindow32;INSTANCE:1]")

_GUICtrlToolbar_ClickIndex($hWnd, 4)

 

But in above case it click on tollbar of main window not the frame_XYZ which is added to the main window. Please help me.

Edited by lallan
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...