HockeyFan Posted May 4, 2006 Posted May 4, 2006 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!
Xenobiologist Posted May 4, 2006 Posted May 4, 2006 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
Moderators big_daddy Posted May 4, 2006 Moderators Posted May 4, 2006 Also I think this script may be of use to you.Find Classes By Text
HockeyFan Posted May 4, 2006 Author Posted May 4, 2006 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!
Moderators big_daddy Posted May 4, 2006 Moderators Posted May 4, 2006 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.
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