Mayur Posted February 12, 2010 Posted February 12, 2010 Hi All, Below is the summary of Window Info of the application i need to automate. #####################Widow Info###################### >>>> Window <<<< Title: CustomTest Class: #32770 Position: 80, 106 Size: 641, 359 Style: 0x94C800CC ExStyle: 0x00010101 Handle: 0x005A026C >>>> Control <<<< Class: Instance: ClassnameNN: Name: Advanced (Class): ID: Text: Position: Size: ControlClick Coords: Style: ExStyle: Handle: 0x006C025E >>>> Mouse <<<< Position: 94, 120 Cursor ID: 0 Color: 0x0000FF >>>> StatusBar <<<< >>>> ToolsBar <<<< >>>> Visible Text <<<< OK Cancel Script Parameters Add -> <- Remove Up Down Parameters >>>> Hidden Text <<<< OK ########################################################################################## I need to click some buttons on it for this purpose i writen following code ############Code################################################# Local $hADDButton,$hOKButton $hADDButton=ControlGetHandle("CustomTest","","[CLASS:#32770;TEXT:Add ->]") $hOKButton=ControlGetHandle("CustomTest","","[CLASS:#32770;TEXT:OK]") _GUICtrlButton_Click($hADDButton) _GUICtrlButton_Click($hOKButton) ###################################################################### But it doesn't work for me Can anyone help me? Thanks, Mayur
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