Hubert24 Posted September 27, 2012 Posted September 27, 2012 Hi all, i am currently new with this tool AutoIt. I want to design the GUI for my realtek wireless Adapter. With the help of AutoIt Window Infos, i get this infos under the control tab: Text Pin code: 97115625 (8digits) This pin code is generated by Realtek and it is randomly generated, therefore it varies. My question is how can i read this text i mean this pin code, because I need to auomate my GUI in such a way that I could read this pin code and write the pin code on my webpage inorder to access internet. I will be grateful if someone can help.
Skitty Posted September 27, 2012 Posted September 27, 2012 My question is how can i read this text i mean this pin code I laughed more than I should have... I mean, it's not like we can go back and correct our sentence, damn permanent characters eh? Anyway, look into a function called "ControlRead", make sure you get the window title and id of the control that has the text. Global $Read = ControlGetText("Window Title", "", "Control ID") If $Read Then MsgBox(64, "Success", $Read) Else MsgBox(16, "Error!", "Nothing was detected, make sure you have the correct Window Title and Control ID.") EndIf
water Posted September 27, 2012 Posted September 27, 2012 And make sure that you read the forum rules. Especially the part about auto-login:"SPAM tools including instant messenger or forum auto-posters. This includes forum or site auto-login methods." My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki
Skitty Posted September 27, 2012 Posted September 27, 2012 And make sure that you read the forum rules. Especially the part about auto-login:"SPAM tools including instant messenger or forum auto-posters. This includes forum or site auto-login methods."I didn't know automating the ISP login thing was against the rules.Hmmm, that sucks.
Recommended Posts