Jump to content

How to make a script do checksum....


Regency
 Share

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Witch Pixel* function did you try out? There is no reference to it in the code you provided.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...