Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Load Wait Function

$
0
0

Hey All,

 

I have a script that is filling out screens in a program and controlsend commands are being sent.

 

I have a status bar instance control, where the visible text always contains the string "Ready" in it when the form is complete or it's reached another screen.  The string "Ready" is never in the same place though so I want to search through the text after I get it with Controlgettext.

 

I was thinking about making a loadwait function for my script to never proceed until I can find the string "Ready" somewhere in that control.  It says "downloading" somewhere in the text when it's not ready but It always show's the "Ready" string when the program isn't waiting.

 

Has anyone attempted anything similiar in searching for a string in a big grouping of text?  Was curious about how to do this and incorporate like a wait function.

 

Thanks!


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>