Jump to content

Recommended Posts

Hi there

I'm making a script

Till now i have this code:

#include <IE.au3>
Global $Paused
HotKeySet("{ESC}", "Terminate")
MsgBox(0, "Starting", "Starting, to exit press ESC at any time. Press OK to continue.")
$oIE = _IECreate ("http://*********************************************")
PixelSearch( 0, 0, 1000, 1000,0xA91A1C )
  If Not @error then
  $oForm = _IEFormGetCollection ($oIE, 0)
  $oQuery = _IEFormElementGetObjByName ($oForm, "adscaptcha_response_field")
  _IEFormElementSetValue ($oQuery, "foxbasic")
  _IEFormSubmit ($oForm)


  If @error then
  $oForm = _IEFormGetCollection ($oIE, 0)
  $oQuery = _IEFormElementGetObjByName ($oForm, "adscaptcha_response_field")
  _IEFormElementSetValue ($oQuery, "click2play")
  _IEFormSubmit ($oForm)

Until $i=10
Func Terminate()
    Exit 0

But now i want to make the code totaly independent (as you can see in the code it needs to be in the IE page to make the pixelsearch)

Is there any way to make it look for the pixel (pixelsearch) without having to be in the page?

Thanks in advanced

Edited by tiosha
Link to post
Share on other sites

yeah . Its a kind of captcha but it only has 2 captchas ( "click2play" and "foxbasic") what i'm doing is identifying the foxbasic one by the ad that is always shown above it that has a red mark and only shows when the foxbasic code is required

but i need to identify the red mark without having to have the screen on the IE page

Any help?

Link to post
Share on other sites
  • Developers

Kind of Captha is good enough for me and means you are kind of trying to go around it ...... so lets not go down that road.

Read our forum rules and lets play by them.


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
Live for the present,
Dream of the future,
Learn from the past.

Link to post
Share on other sites
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...