Jump to content

Recommended Posts

Posted

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

Posted

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?

Posted

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 :)

Posted

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

That 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.
Posted

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.

:P

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...