ganon64 Posted June 5, 2007 Share Posted June 5, 2007 I am making a program that moves the mouse down a webpage by 12 pixels every cycle until the cursor changes to that of when its over a hyperlink, problem is the only way i can get it to break out the loop at a link is only using the mousegetcursor, it seems to ignore the until line when combined with an AND NOT statusbargettext command which is annoying cause i need it to not click on this particular link but only click on the others. Is a NOT statusbargettext command valid? Do MouseMove($xmouse,$ymouse+12) $pos = MouseGetPos() $ymouse = $pos[1] Until MouseGetCursor() = 0 And Not StatusbarGetText("Main Page","",1) = "http://adbux.org/?r=" MouseClick("left") Link to comment Share on other sites More sharing options...
ganon64 Posted June 5, 2007 Author Share Posted June 5, 2007 since everyones too lazy to answer i finally figured it after several hrs Do Sleep(1000) Until PixelGetColor(118,153) = 9152139 And PixelGetColor(195,246) = 0 main() EndIf Until MouseGetCursor() = 0 And StatusbarGetText("Main Page","",1) = "http://adbux.org/?r=" = @error MouseClick("left") Link to comment Share on other sites More sharing options...
Bert Posted June 5, 2007 Share Posted June 5, 2007 And why are you not using the IE tools in AutoIt to do this? Much easier... The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
PaulIA Posted June 5, 2007 Share Posted June 5, 2007 since everyones too lazy to answer i finally figured it after several hrsThere's only 25 minutes between you're first and second posts duffus. How did you cram "several hours" into 25 minutes? Auto3Lib: A library of over 1200 functions for AutoIt Link to comment Share on other sites More sharing options...
herewasplato Posted June 5, 2007 Share Posted June 5, 2007 (edited) There's only 25 minutes between you're first and second posts duffus. How did you cram "several hours" into 25 minutes?...maybe by counting the time spend before making the first post or just a hyperbole - either way the post was a bit rude and ensures that future help might not be too quick either.Edit - great - another get paid per click script... adbux.org Edited June 5, 2007 by herewasplato [size="1"][font="Arial"].[u].[/u][/font][/size] 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