Sign in to follow this  
Followers 0
sandyd

Buttons on MDI Forms

3 posts in this topic

Hi all,

First of all Happy New Year :idiot: Hope everyone had a good one.

Now, on to the problem ...

I have an application that will automatically starts on one of our servers. It has 3 MDI child windows that we need to click a 'GO' button on each.

I can use AU3_Spy to get the classnames of each button, but cannot figure out the syntax of the ControlClick command to actually clickmthe buttons.

Can someone post an example of how to click a button using the classname.

Thanks in adavance


----[ SandyD ]---

Share this post


Link to post
Share on other sites

ControlClick('Windowtitle', 'Text in Window', 'Button75')

Share this post


Link to post
Share on other sites

ControlClick('Windowtitle', 'Text in Window', 'Button75')

<{POST_SNAPBACK}>

I was confounded on a similar problem, by the fact that you need to set an option in AutoIt that lets it identify Child windows.

See "Opt" in help.

J


If I am too verbose, just say so. You don't need to run on and on.

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  
Followers 0