Jump to content

negating statusbargettext


Recommended Posts

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

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

since everyones too lazy to answer i finally figured it after several hrs

There'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

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 by herewasplato

[size="1"][font="Arial"].[u].[/u][/font][/size]

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...