Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Click toolbar button

$
0
0

Hello, (first post)  :bye:

 

This question has been asked a thousand times, but I can't get it to work. 

I'm trying to click a button on a toolbar. Here's the summary of the toolbar:

>>>> ToolsBar <<<<
1: 57600
2: 57601
3: 57603
4: 0
5: 32785
6: 0
7: 32771
8: 32772
9: 32781
10: 32788
which seems strange considering that there are 14 buttons on the toolbar???
 
I have this:
 
#include <GuiToolbar.au3>
#include <GuiConstantsEx.au3>
 
local $hWnd = WinWait("PCCut - PCCut1","",10)
_GUICtrlToolbar_ClickIndex($hWnd,10,"left",True)
ControlClick($hWnd,"","[ID:32788]")
 
but it doesn't work. What am I doing wrong?

 


Viewing all articles
Browse latest Browse all 12506

Trending Articles