alfa Posted May 20, 2011 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 ?
somdcomputerguy Posted May 20, 2011 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.
somdcomputerguy Posted May 23, 2011 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.
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