graysn05 Posted February 1, 2008 Share Posted February 1, 2008 (edited) Where the comments are i just sent characters to get a proof of concept. Problems 1. I need to check the network list to see if there was an attempt at setting up our network 2. After the network is setup there is a tooltip (made by windows) that i need to click to have windows prompt the user for credentials 3. I need to find out how to control click tabs inside of properties windows if anyone would like to help and needs screen shots let me know thanks in advance expandcollapse popup;Setup UNI-Wireless connection run ( "control netconnections" ) WinWaitActive ( "Network Connections" ) Send ( "w" ) Send ( "!f" ) Send ( "{Up 2}" ) Send ( "{Enter}" ) WinWaitActive ( "Wireless Network Connection Properties" ) Send ( "+{Tab 2}" ) Send ( "{Space}" ) Send ( "{Right}" ) Send ( "!a" ) WinWaitActive ( "Wireless network properties" ) Send ( "UNI-Wireless" ) Send ( "{Tab}" ) Send ( "{Down 2}" ) Send ( "{Tab}" ) Send ( "{Up}" ) ;ctrlclick auth. tab (problem #3************************) Send ( "^{Tab}" ) Send ( "{Up}" ) ;ctrlclick properties Send ( "{Tab}" ) Send ( "{Enter}" ) WinWaitActive ( "Protected EAP Properties" ) ;ControlClick ( "Protected EAP Properties", "Select Authentication", "Configure...") Send ( "{Tab 5}" ) Send ( "{Enter}" ) WinWaitActive ( "EAP MSCHAPv2 Properties" ) Send ( "{Tab 2}" ) Send ( "{Space}" ) ControlClick ( "EAP MSCHAPv2 Properties", "", "OK") WinWaitActive ( "Protected EAP Properties" ) ControlClick ( "Protected EAP Properties", "", "OK") ;need to check on ctrl clicking checkboxs WinWaitActive ( "Wireless network properties" ) Send ( "{Tab}" ) Send ( "{Space}" ) ControlClick ( "Wireless network properties", "", "OK" ) WinWaitActive ( "Wireless Network Connection Properties" ) ControlClick ( "Wireless Network Connection Properties", "", "OK" ) WinWaitClose ( "Wireless Network Connection Properties" ) ;Problem #2 attempt***************************** WinWait ( "Wireless Network Connection", "Click here to select a certificate" ) ToolTip ( "windows tooltip was found" ) ControlClick ( "Wireless Network Connection", "Click here to select a certificate" ) Edited February 1, 2008 by graysn05 Link to comment Share on other sites More sharing options...
seandisanti Posted February 1, 2008 Share Posted February 1, 2008 Where the comments are i just sent characters to get a proof of concept. Problems 1. I need to check the network list to see if there was an attempt at setting up our network 2. After the network is setup there is a tooltip (made by windows) that i need to click to have windows prompt the user for credentials 3. I need to find out how to control click tabs inside of properties windows if anyone would like to help and needs screen shots let me know thanks in advance expandcollapse popup;Setup UNI-Wireless connection run ( "control netconnections" ) WinWaitActive ( "Network Connections" ) Send ( "w" ) Send ( "!f" ) Send ( "{Up 2}" ) Send ( "{Enter}" ) WinWaitActive ( "Wireless Network Connection Properties" ) Send ( "+{Tab 2}" ) Send ( "{Space}" ) Send ( "{Right}" ) Send ( "!a" ) WinWaitActive ( "Wireless network properties" ) Send ( "UNI-Wireless" ) Send ( "{Tab}" ) Send ( "{Down 2}" ) Send ( "{Tab}" ) Send ( "{Up}" ) ;ctrlclick auth. tab (problem #3************************) Send ( "^{Tab}" ) Send ( "{Up}" ) ;ctrlclick properties Send ( "{Tab}" ) Send ( "{Enter}" ) WinWaitActive ( "Protected EAP Properties" ) ;ControlClick ( "Protected EAP Properties", "Select Authentication", "Configure...") Send ( "{Tab 5}" ) Send ( "{Enter}" ) WinWaitActive ( "EAP MSCHAPv2 Properties" ) Send ( "{Tab 2}" ) Send ( "{Space}" ) ControlClick ( "EAP MSCHAPv2 Properties", "", "OK") WinWaitActive ( "Protected EAP Properties" ) ControlClick ( "Protected EAP Properties", "", "OK") ;need to check on ctrl clicking checkboxs WinWaitActive ( "Wireless network properties" ) Send ( "{Tab}" ) Send ( "{Space}" ) ControlClick ( "Wireless network properties", "", "OK" ) WinWaitActive ( "Wireless Network Connection Properties" ) ControlClick ( "Wireless Network Connection Properties", "", "OK" ) WinWaitClose ( "Wireless Network Connection Properties" ) ;Problem #2 attempt***************************** WinWait ( "Wireless Network Connection", "Click here to select a certificate" ) ToolTip ( "windows tooltip was found" ) ControlClick ( "Wireless Network Connection", "Click here to select a certificate" )for navigating tabs, i typically will do a send("^{PGUP}") or send("^{PGDWN}") as far as detecting the tooltip window, you should be able to identify it by class to click on it Link to comment Share on other sites More sharing options...
graysn05 Posted February 4, 2008 Author Share Posted February 4, 2008 for navigating tabs, i typically will do a send("^{PGUP}") or send("^{PGDWN}") as far as detecting the tooltip window, you should be able to identify it by class to click on itUsing the window info program i don't get any information on the windows "ballon". Link to comment Share on other sites More sharing options...
DaleHohm Posted February 4, 2008 Share Posted February 4, 2008 Controls inside a browser (any browser) are not windows controls. You will only see a top level control for the overall "container" with windows info tool. You can manipulate content with keyboard commands as you are doing, but you can get much more precise and flexible control with IE Automation using the _IE* functions (IE is the only browser that exposes an external COM API to allow this). Dale Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model Automate input type=file (Related) Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded Better Better? IE.au3 issues with Vista - Workarounds SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead? Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble Link to comment Share on other sites More sharing options...
graysn05 Posted February 5, 2008 Author Share Posted February 5, 2008 I am not trying to navigate tabs in a browser. The tabs are inside the wireless network properties. Does anyone know how to send a click to a windows created tooltip? Link to comment Share on other sites More sharing options...
/dev/null Posted February 5, 2008 Share Posted February 5, 2008 if anyone would like to help and needs screen shots let me knowI think a screenshot would really help.CheersKurt __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
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