Sign in to follow this  
Followers 0
Prestige

HAAALLLPPP

6 posts in this topic

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

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

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.

Share this post


Link to post
Share on other sites

jdelaney... read his prior thread.  He's automating a game.  Don't give him any help.  Period.


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

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

*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.

Share this post


Link to post
Share on other sites

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

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

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0