Jump to content
Sign in to follow this  
lallan

How to click button in a toolbar having tooltip name?

Recommended Posts

Hi,

   I want to click a button in particular frame of GUI.

The button has tool tip name displayed there.

Please help me.Thanks a ton in advance.

 

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...