Jump to content

Hey


Recommended Posts

I'm trying to make an AutoIt script that will;

1. Open up the Internet browser to the search site you want.(Done)

2. Search for a number ($n)

3. Once the search results are done loading wait 10 seconds

4. Go back, and do it again.

;Search Bot by Madcow
$times = 40
$n = 2
$URL = "http://netbux.org/index.php"
$start = MsgBox(4,"Run?", "Run Search bot?")
If $start = 7 then
  Exit
EndIf
If $start = 6 then
WinMinimizeAll()
; THANKS TO Ejoc AND SlimShady FOR THIS FUNCTION
  Run(@ComSpec & ' /c START "" "' & $URL & '"', @SystemDir, @SW_HIDE)
  WinWait("Netbux.Org - Get Paid To Search The Net! - Mozilla Firefox")
  Send ("{TAB} & $n & {ENTER}")
EndIf
For $i = 1 to $times
Sleep(30000)
WinWait ( "You searched for,{" & $n & "} ... - Mozilla Firefox" )
Send ("{BS}")
$n = $n + 1
WinWait ("Netbux.Org - Get Paid To Search The Net! - Mozilla Firefox")
Next

All this does is open the broswer and stop.

The problem is mostlikely really simple I'm just to blind to notice.

Thanks for any help.

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