Jump to content
Sign in to follow this  

Please Help! Strange Problem

Recommended Posts

Hi there,

please help me with this problem. My script calls the loop function and the problem is that whe n it reaches the "Are we logged in" If Then Else it just tops there.... the wile loop doesn't continue.... :

Func Loop()

Global $DetectLogout = 0

; Make sure the flag is cleared

$fInterrupt = 0

While 1

; Are we logged out?

If WinExists("Windows Internet Explorer", "Login") And $DetectLogout > 1 Then





more code..


Share this post

Link to post
Share on other sites

Well, in the code you posted, $detectlogout will never be > 1 so it will stay in your loop forever.



My Android cat and mouse game

We're gonna need another Timmy!

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