alfa 0 Posted May 20, 2011 Hello, I am trying to use control for clicking a button. this it the info of the page >>>> Window <<<< Title: \\Brio\5519.bqy - Windows Internet Explorer Class: IEFrame Position: 0, 0 Size: 1280, 994 Style: 0x14CF0000 ExStyle: 0x00000100 Handle: 0x004A07C6 >>>> Control <<<< Class: StdBtn Instance: 25 ClassnameNN: StdBtn25 Name: Advanced (Class): [CLASS:StdBtn; INSTANCE:25] ID: 1 Text: Process List Box Selections Position: 406, 643 Size: 111, 35 ControlClick Coords: 59, 17 Style: 0x5000000B ExStyle: 0x00000000 Handle: 0x00130B68 And this is what I thought would work by looking at the help file. ControlClick("\\Brio\5519.bqy - Windows Internet Explorer", "", "[CLASS:StdBtn; TEXT:Process List Box Selections; INSTANCE:25]]") But it didnt And one more thing , didnt want to open an other topic. How can i make a check to see it if is a failure or success ? Share this post Link to post Share on other sites
somdcomputerguy 103 Posted May 20, 2011 You have an extra closing square bracket in your code there. But try just StdBtn25 as the ID. - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Share this post Link to post Share on other sites
alfa 0 Posted May 23, 2011 Thank you very much worked like a charm... Share this post Link to post Share on other sites
somdcomputerguy 103 Posted May 23, 2011 You bet. Good luck with your project. - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Share this post Link to post Share on other sites