tiosha Posted December 12, 2011 Share Posted December 12, 2011 (edited) Hi there I'm making a script Till now i have this code: #include <IE.au3> Global $Paused HotKeySet("{ESC}", "Terminate") $i=0 MsgBox(0, "Starting", "Starting, to exit press ESC at any time. Press OK to continue.") $oIE = _IECreate ("http://*********************************************") Do PixelSearch( 0, 0, 1000, 1000,0xA91A1C ) If Not @error then $oForm = _IEFormGetCollection ($oIE, 0) $oQuery = _IEFormElementGetObjByName ($oForm, "adscaptcha_response_field") _IEFormElementSetValue ($oQuery, "foxbasic") Sleep(4000) _IEFormSubmit ($oForm) Endif If @error then $oForm = _IEFormGetCollection ($oIE, 0) $oQuery = _IEFormElementGetObjByName ($oForm, "adscaptcha_response_field") _IEFormElementSetValue ($oQuery, "click2play") Sleep(4000) _IEFormSubmit ($oForm) Endif $i=$i Until $i=10 Func Terminate() Exit 0 EndFunc 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 December 12, 2011 by tiosha Link to comment Share on other sites More sharing options...
Developers Jos Posted December 12, 2011 Developers Share Posted December 12, 2011 Somehow this smells very Captcha... what is it? 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 comment Share on other sites More sharing options...
tiosha Posted December 12, 2011 Author Share Posted December 12, 2011 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 comment Share on other sites More sharing options...
Developers Jos Posted December 12, 2011 Developers Share Posted December 12, 2011 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. Jos 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 comment Share on other sites More sharing options...
Recommended Posts