Jump to content

Recommended Posts

Posted

I have my code set up so its doing it right but i need it to other then repeat. But I need it to do a checksum of a area to see if it has changed. How do i make this script check a area and see if it changed. And if it did change just point me in the right area of writing the option on making it do something then repeating the process...

#include <IE.au3> 
$oIE=_IECreate("http://www.themafianetwork.net/jail.aspx?")
_IELoadWait($oIE)
WinSetState("TheMafiaNetwork - National Jail - Microsoft Internet Explorer", "", @SW_MAXIMIZE)
;WinSetState("TheMafiaNetwork - National Jail - Microsoft Internet Explorer", "", @SW_MINIMIZE)
  For $var = 0 To 10 Step 1
   _IELoadWait($oIE)
  _IELinkClickByText ($oIE, "Break")
  _IELoadWait($oIE)
  _IENavigate($oIE,"http://www.themafianetwork.net/jail.aspx?", 1)
Next

Should i be using For..Next or should i be using like Select.. Case?

Advice please... Thanks

Posted

Read up on Pixel* functions in the help file. But be aware that if you hardcode the values you might find that a system running with 16million colors don't return the same result as one running 32.

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
×
×
  • Create New...