AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Help with search bot

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Eklipse91
Guest





PostPosted: Fri Aug 22, 2008 3:41 pm    Post subject: Help with search bot Reply with quote

I have created a search bot using AHK, but now I am looking to make it silent, meaning I can run it in the background while still doing other things on my computer. Is this hard to do and could someone give me some guidance on how I should go about doing this? Thanks in advance for your help.
Back to top
Razlin



Joined: 05 Nov 2007
Posts: 434
Location: canada

PostPosted: Fri Aug 22, 2008 3:45 pm    Post subject: Reply with quote

Yeah it could probably be done but what does your code look like.
_________________
-=Raz=-
Back to top
View user's profile Send private message
Eklipse91
Guest





PostPosted: Fri Aug 22, 2008 3:55 pm    Post subject: Reply with quote

Code:
WinWaitActive,iGoogle - Mozilla Firefox, ,10
if ErrorLevel
{
    MsgBox, Something is wrong... Fix it!
    return
}
else
Sleep, 10000
SetTimer, Exit, 10800000
Click 912,69
Click 926,253
Sleep 1000
Loop
{
    Random, Line, 1, 81535
    FileReadLine, Word, C:\Documents and Settings\Jeff\Desktop\AutoHotkey\words.txt, Line
    Send, %Word% ;send each line
    Click 1095,69
    Random, Sleep1, 54000, 77120
    Sleep Sleep1
    Click 72,290
    Random, Sleep2, 162000, 213380
    Sleep Sleep2
    Click 940,71,3
}

Exit:
ExitApp


the first few lines are not really necessary but essentially what it does is searches random words from a word list by typing them into the search bar and then clicks the first link (well sometimes as long as they happen to line up where the mouse is set to click)[/code]
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group