krishpun Posted August 11, 2012 Posted August 11, 2012 (edited) I need to click 4th button on the toolbar, can you please help? AutoIT Window Info has captured the below ---------------------------------------------------------- >>>> Window <<<< Title: Power of Appeals Class: TMainForm Position: -9, -9 Size: 1384, 752 Style: 0x17CF0000 ExStyle: 0x00010100 Handle: 0x00100596 >>>> Control <<<< Class: TToolBar Instance: 1 ClassnameNN: TToolBar1 Name: Advanced (Class): [CLASS:TToolBar; INSTANCE:1] ID: 1901352 Text: Position: 0, 0 Size: 1366, 33 ControlClick Coords: 211, 20 Style: 0x5600084E ExStyle: 0x00010000 Handle: 0x001D0328 >>>> Mouse <<<< Position: 220, 81 Cursor ID: 0 Color: 0xF0F0F0 >>>> StatusBar <<<< >>>> ToolsBar <<<< >>>> Visible Text <<<< Print Reports, Forms, Labels & Envelopes >>>> Hidden Text <<<< Edited August 11, 2012 by krishpun
stormbreaker Posted August 11, 2012 Posted August 11, 2012 Is this what you want? $HWND = WinWaitActive("Power of Appeals", "") ControlClick($HWND, "", "[CLASS:TToolBar; INSTANCE:1; ID:1901352]") ---------------------------------------- :bye: Hey there, was I helpful? ---------------------------------------- My Current OS: Win8 PRO (64-bit); Current AutoIt Version: v3.3.8.1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now