Sign in to follow this  
Followers 0
Hubert24

Using AutoIt text.

4 posts in this topic

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.

Share this post


Link to post
Share on other sites



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

Things that I've done..

Icon Resource Editor: icon resource editor 

AutoIt Piano: a piano

AutoIt Unlocker: unlocks files when you want to delete them

Colorful tooltips: a wrapper for the tool tips UDF

Rouge GoogleBot: a full screen animation

ASciTE text editor: a text editor written in autoit

Warning: Posts by this user are subject to change or may disappear without notice.

Share this post


Link to post
Share on other sites

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 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

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.


Things that I've done..

Icon Resource Editor: icon resource editor 

AutoIt Piano: a piano

AutoIt Unlocker: unlocks files when you want to delete them

Colorful tooltips: a wrapper for the tool tips UDF

Rouge GoogleBot: a full screen animation

ASciTE text editor: a text editor written in autoit

Warning: Posts by this user are subject to change or may disappear without notice.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0