Hubert24 Posted October 10, 2012 Share Posted October 10, 2012 Hi all, i am a student and new with AutoIT, I have designed a GUI for connecting my USB adaptar into my webpage, but i don't know how to access my webpage via AutoIt, I am blocked here: how to start the TFTP server. Start the agent (e.g. by telnet, check how to use telnet from AutoIt) Connect the agent from AutoIt. Sigma agent has to support the pin and push button method. Please if someone can be of help I will be grateful. Best regards Hurbert24 Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted October 10, 2012 Moderators Share Posted October 10, 2012 Hi, Hubert, welcome to the forum. You will always get a much better response if you post the code you have thus far (even if it isn't working just as you would like it to). That way we have something to work with, rather than guessing "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Hubert24 Posted October 10, 2012 Author Share Posted October 10, 2012 Thanks for your reply. here below is what I have done sofar, I would read the pin form the station (USB adapter), but I don't even know how to start to write the pin on the webpage. on the webpage there are two buttons pin and Push button. I wish you could understand what i mean. #NoTrayIcon #include <GUIConstantsEx.au3> #include <Array.au3> ; Run the WLAN Utility Run("C:Program FilesRealtek11n USB Wireless LAN UtilityRtWLan.exe") ; Wait for the Wlan Utility to become active - it is titled "REALTEK 11n USB Wireless LAN Utility" WinWaitActive("REALTEK 11n USB Wireless LAN Utility") ;case1: going in for PIN ControlClick("REALTEK 11n USB Wireless LAN Utility", "", "[iD:1252]") WinWaitActive("Wi-Fi Protected Setup (WPS)") ;if AP is unknown then click on No button WinWaitActive("Wi-Fi Protected Setup (WPS)", "No") Send("!n") WinWaitActive("Wi-Fi Protected Setup - PIN method") ;delay 2seconds in order to allow the machine to read the pin Sleep( 2000 ) Global $Read = ControlGetText("Wi-Fi Protected Setup - PIN method", "", "[iD:1261]") If $Read Then MsgBox(64, "Success", $Read) Else MsgBox(16, "Error!", "No PIN was detected!!!") EndIf 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