Jump to content
Sign in to follow this  
mike34

Newbie Loop question

Recommended Posts

hello,

I created a while loop like this:

while 1

$line = FileReadLine($file)

....

....

// now in the middle of the loop two possible windows could appear.

WinWaitActive("window title 1")

If this window get active i want to send the enter key end go

to the end of the loop like:

send ("{ENTER}")

exit loop

WinWaitActive("window title 2")

if tihs window get active i want to normaly continue the loop.

....

....

....

wend

i tried it with if and do until but i always get error when starting the au3 file.

would be great if some could help me.

greetings Mike

Share this post


Link to post
Share on other sites

for any help we need the script and the errors.

Cheers

Kurt


__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

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