Jump to content
Sign in to follow this  
alfa

Trying to use control

Recommended Posts

alfa

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 :unsure:

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

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

Thank you very much :unsure: worked like a charm...

Share this post


Link to post
Share on other sites
somdcomputerguy

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×