Sign in to follow this  
Followers 0
HockeyFan

Active Window Info Help

5 posts in this topic

:D

Can someone help me understand how to script a mouse-click on the active (Next) button in the following screen shot? If I'm reading the Active Window Info correctly, it appears that the button is hidden. :(

When I try to pass the following command to it, nothing happens. :)

ControlClick ( "New Connection Wizard", "&Next >", 12325)

What am I doing wrong?

Thanks!

Share this post


Link to post
Share on other sites



Hi,

what about just checking whether the window is active and then just send enter?!

So long,

Mega


Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Share this post


Link to post
Share on other sites

I think you got the wrong button... a hidden "Finish" button...

try this...

ControlClick ( "New Connection Wizard", "&Next >", "&Next >")

Larry,

AWESOME...That worked!!! :(

Can you tell me why you used "&Next >" for both the Text and Control ID and what I was misreading from the windows info screen?

Thanks for your help! :)

Share this post


Link to post
Share on other sites

Larry,

AWESOME...That worked!!! :(

Can you tell me why you used "&Next >" for both the Text and Control ID and what I was misreading from the windows info screen?

Thanks for your help! :)

Most of the Control*() functions accept one of the following for the control id parameter:

Control ID

ClassNameNN

Text

Control Handle (HWND)

With that being said, "&Next >" was the text of the "Next" button.

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