Jump to content
Sign in to follow this  
dar100111

Load Wait Function

Recommended Posts

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!

Edited by dar100111

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...