Jump to content

Advanced WinWaitActive reading text in a window?


Recommended Posts

Hi!

I am writing a script that run some commands in a rumba-window (as/400 terminal session).

My script works fine and im using sleep to pause between every screen change.

But this does not work all the time becuse sometimes a screen change can take very long time.

So I would like Autoit to read text in the terminal window to know when to continue.

And I have tested with the WinWaitActive command.

example: WinWaitActive("RUMBA AS/400 Display","CONNECTED")

I was hoping that above line would make autoit wait until a windows have the text connected in it... But it does not work. Autoit waits forever.

(I have activated the windetecthiddentext)

So I would like to know how good AutIt is on reading text in a windows.

Have any of you out there any ideas if this can be done?

regards, Magnus Finbom

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...