Jujo Posted September 27, 2008 Share Posted September 27, 2008 HelloI have a website, and account at www.submitterbot.com. SubmitterBot is great site which is used for automatic submitting WebSites to directories. The problem is - this process is very painful, SubmitterBot has more than 450 directories registered. So I tried to make a AutoIt script for it. It worked well like this:HotKeySet("{ESC}", "Terminate") While 1 WinWaitActive("SubmitterBot - Semi-automatic directory submission tool - Mozilla Firefox") Sleep(350) MouseClick("left", 722, 529) Sleep(150) Send("Entertainment") Sleep(100) Send("{ENTER}") Sleep(150) MouseClick("left", 544, 551) Sleep(10000) Wend Func Terminate() Exit 0 EndFuncIt worked well for few directories, but then a problem appeared - there was no 'ENTERTAINMENT' category, so when bot typed Entertainment, it didnt select any category, so SubmitterBot said that no category was selected and BOT couldn't proceed. Here is screenshoot of problem:What I was trying to do is this: make bot detect if directory has 'Entertainment' category. Then if it hasn't, shoose some other that can do the work. If problem is same, again, then click "Skip this!" button. The thing is that I don't know how to do it, so I ask you for help.Thanks Link to comment Share on other sites More sharing options...
BrettF Posted September 27, 2008 Share Posted September 27, 2008 Hello and welcome to the forums, It is best you explore all of the _IE* functions, as they are more powerful, and it will be easier and aid you in reaching your goal. It also looks more professional. Cheers, Brett Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
Jujo Posted September 27, 2008 Author Share Posted September 27, 2008 Well, I don't know what options to use. Can you help me? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now