Jump to content

HAAALLLPPP


Recommended Posts

I hate this T_T

I ended up with this code to learn to use PixelSearch(Move to Red)

 

While True
    If Not $stop then
        $Get = PixelSearch(left, top, right, bottom 0xFF0000)
        If not @error Then
            Mousemove($Get[0], $Get[1])
        EndIf
    EndIf
WEnd

HALP PLEASE! T_T

Link to comment
Share on other sites

That depends on what you're trying to use this for?  What program are you using it on?  That does actually make a difference.

 

 

Nevermind.

Edited by Blue_Drache

Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache

Link to comment
Share on other sites

What game are you trying to automate?

Or what app...there are much better ways then keying off color...also, your script is incomplete as provided, you need to define the bounds of the pixel search

these are not variables: left, top, right, bottom

Edited by jdelaney
IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.
Link to comment
Share on other sites

*finger on nose*...95 percent of pixel searchers are automating a game

The other percent are ignorant of better methods, and the smallest sliver actually need it.

Edited by jdelaney
IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.
Link to comment
Share on other sites

  • Developers

Strike 2 -> 10 days without being able to post and last warning.

Better use this time good by reading our forum rules carefully.

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

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

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