Sign in to follow this  
Followers 0
finbom

Advanced WinWaitActive reading text in a window?

2 posts in this topic

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

Share this post


Link to post
Share on other sites



Run the window spy and check if this shows you any of the text in the window. If it doesn't, AutoIt will be unable to see the text.

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  
Followers 0