blender Posted November 20, 2007 Posted November 20, 2007 Hi, all I have to deal a dialog box which could have two different messages. Different action will be performed depending on which message is displayed on the dialog box. So is there a way to detect strings on a dialog box? Thanks
DW1 Posted November 20, 2007 Posted November 20, 2007 either with the autoit window info tool (Ctrl-F6 in scite4autoit) you could try to get the text. If that returns no help, then search for OCR. AutoIt3 Online Help
blender Posted November 20, 2007 Author Posted November 20, 2007 either with the autoit window info tool (Ctrl-F6 in scite4autoit) you could try to get the text. If that returns no help, then search for OCR.Thanks for the reply. I would like to let my script written in autoit to find the message. Is there a way to do that?
enaiman Posted November 20, 2007 Posted November 20, 2007 Thanks for the reply. I would like to let my script written in autoit to find the message. Is there a way to do that?danwilli gave you the exact answer, it is all you need - it is "the way"either with the autoit window info tool (Ctrl-F6 in scite4autoit) you could try to get the text. If that returns no help, then search for OCR. SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script wannabe "Unbeatable" Tic-Tac-Toe Paper-Scissor-Rock ... try to beat it anyway :)
Gestalt Posted November 20, 2007 Posted November 20, 2007 Hi, allI have to deal a dialog box which could have two different messages. Different action will be performed depending on which message is displayed on the dialog box. So is there a way to detect strings on a dialog box?ThanksThat depends on the type of dialog box. I get text from dialog boxes all of the time from different applications. WinGetText() will work in this case. If it is a Microsoft dialog box, you may be out of luck.
PsaltyDS Posted November 21, 2007 Posted November 21, 2007 either with the autoit window info tool (Ctrl-F6 in scite4autoit) you could try to get the text. If that returns no help, then search for OCR.danwilli: The Cassandra of AutoIt -- He has told them the answer... but they will not believe! If only they would run Au3Info.exe, they could have the answer themselves! But no. They code in a dark gloom of ignorance. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
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