Jump to content
Sign in to follow this  
Doug Porter

While inside while

Recommended Posts

I am so confused as to what is causing the error.

Any help would be great.

Thanks.

[__CODE_PROTECTED]PGJyIC8+CkF1dG9JdFNldE9wdGlvbiYjNDA7JiMzNDtQaXhlbENvb3JkTW9kZSYjMzQ7LDAmIzQxOzxiciAvPgpBdXRvSXRTZXRPcHRpb24mIzQwOyYjMzQ7TW91c2VDb29yZE1vZGUmIzM0OywwJiM0MTs8YnIgLz4KSG90S2V5U2V0JiM0MDsmIzM0O3tFU0N9JiMzNDssJiMzNDtUZXJtaW5hdGUmIzM0OyYjNDE7PGJyIC8+CldoaWxlIDA9MDxiciAvPgoJRnVuYyBUZXJtaW5hdGUmIzQwOyYjNDE7PGJyIC8+CgkJRXhpdCAwPGJyIC8+CglFbmRGdW5jPGJyIC8+CglEaW0gJiMwMzY7eT0wPGJyIC8+CglXaW5BY3RpdmF0ZSYjNDA7JiMzNDt1cmwmIzM0OyYjNDE7PGJyIC8+CglXaW5XYWl0QWN0aXZlJiM0MDsmIzM0O3VybCYjMzQ7JiM0MTs8YnIgLz4KCU1vdXNlQ2xpY2smIzQwOyYjMzQ7JiMzNDssNDAwLDQ0MCYjNDE7PGJyIC8+CglTbGVlcCYjNDA7NTAwMCYjNDE7PGJyIC8+CglNb3VzZUNsaWNrJiM0MDsmIzM0OyYjMzQ7LDYwMCw1ODUmIzQxOzxiciAvPgoJU2xlZXAmIzQwOzUwMDAmIzQxOzxiciAvPgoJTW91c2VDbGljayYjNDA7JiMzNDsmIzM0OywxMDU1LDM3MCYjNDE7PGJyIC8+CglXaGlsZSAmIzAzNjt5ICYjNjA7IDUzMTxiciAvPgoJCURpbSAmIzAzNjt5PVJhbmRvbSYjNDA7MzEwLDUzMCwxJiM0MTs8YnIgLz4KCQlXaW5BY3RpdmF0ZSAmIzQwOyYjMzQ7dXJsJiMzNDsmIzQxOzxiciAvPgoJCUlmIFdpbkFjdGl2ZSAmIzQwOyYjMzQ7dXJsJiMzNDsmIzQxO1RoZW4gPGJyIC8+CgkJCU1vdXNlQ2xpY2smIzQwOyYjMzQ7JiMzNDssNTgsJiMwMzY7eSwxLDAmIzQxOzxiciAvPgoJCQlNb3VzZUNsaWNrJiM0MDsmIzM0OyYjMzQ7LDUwMCwyOTksMSwwJiM0MTs8YnIgLz4KCQlFbmRJZjxiciAvPgoJCUlmIFBpeGVsR2V0Q29sb3ImIzQwOzU3NywzMTUmIzQxOz05OTI1ODIzIFRoZW48YnIgLz4KCQkJRG88YnIgLz4KCQkJCSYjMDM2O3k9UmFuZG9tJiM0MDszMTAsNTMwLDEmIzQxOzxiciAvPgoJCQkJTW91c2VDbGljayYjNDA7JiMzNDsmIzM0Oyw1OCwmIzAzNjt5LDEsMCYjNDE7PGJyIC8+CgkJCVVudGlsIFBpeGVsR2V0Q29sb3ImIzQwOzU3NywzMTUmIzQxOz0xNjc3NzIxNTxiciAvPgoJCQlNb3VzZUNsaWNrJiM0MDsmIzM0OyYjMzQ7LDUwMCwyOTksMSwwJiM0MTs8YnIgLz4KCQlFbmRJZjxiciAvPgoJCXNsZWVwJiM0MDsyMDAwJiM0MTs8YnIgLz4KCQlJZiBQaXhlbEdldENvbG9yJiM0MDszNSw0OTUmIzQxOz0xNTA2NjU5NyBUaGVuPGJyIC8+CgkJCU1vdXNlV2hlZWwmIzQwOyYjMzQ7ZG93biYjMzQ7LDEwJiM0MTs8YnIgLz4KCQkJTW91c2VDbGljayYjNDA7JiMzNDsmIzM0OywyOTcsNDkwJiM0MTs8YnIgLz4KCQlFbmRJZjxiciAvPgoJV0VuZDxiciAvPgpXRW5kPGJyIC8+Cg==[/__CODE_PROTECTED]

Share this post


Link to post
Share on other sites

AutoItSetOption("PixelCoordMode",0)
AutoItSetOption("MouseCoordMode",0)
HotKeySet("{ESC}","Terminate")
While 0=0
    Dim $y=0
    WinActivate("url")
    WinWaitActive("url")
    MouseClick("",400,440)
    Sleep(5000)
    MouseClick("",600,585)
    Sleep(5000)
    MouseClick("",1055,370)
    While $y < 531
        Dim $y=Random(310,530,1)
        WinActivate ("url")
        If WinActive ("url")Then
            MouseClick("",58,$y,1,0)
            MouseClick("",500,299,1,0)
        EndIf
        If PixelGetColor(577,315)=9925823 Then
            Do
                $y=Random(310,530,1)
                MouseClick("",58,$y,1,0)
            Until PixelGetColor(577,315)=16777215
            MouseClick("",500,299,1,0)
        EndIf
        sleep(2000)
        If PixelGetColor(35,495)=15066597 Then
            MouseWheel("down",10)
            MouseClick("",297,490)
        EndIf
    WEnd
WEnd

Func Terminate()
    Exit 0
EndFunc


SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...