ExElNeT Posted July 26, 2006 Share Posted July 26, 2006 Is there a function available for this way? I know its possible to write my own but an already exiwsiting function might be faster :=) greetz Link to comment Share on other sites More sharing options...
AzKay Posted July 26, 2006 Share Posted July 26, 2006 PixelSearch() # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
ExElNeT Posted July 26, 2006 Author Share Posted July 26, 2006 PixelSearch()This function is to search from top left to the bottom right Link to comment Share on other sites More sharing options...
AzKay Posted July 26, 2006 Share Posted July 26, 2006 Thats what it does. # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
Simucal Posted July 26, 2006 Share Posted July 26, 2006 Thats what it does.Re-read his post AzKay.. he wanted to search from bottom right to topleft. Which pixelsearch does not do. AutoIt Scripts:Aimbot: Proof of Concept - PixelSearching Aimbot with several search/autoshoot/lock-on techniques.Sliding Toolbar - Add a nice Sliding Toolbar to your next script. Click the link to see an animation of it in action!FontInfo UDF - Get list of system fonts, or search to see if a particular font is installed.Get Extended Property UDF - Retrieve a files extended properties (e.g., video/image dimensions, file version, bitrate of song/video, etc) Link to comment Share on other sites More sharing options...
ExElNeT Posted July 26, 2006 Author Share Posted July 26, 2006 Thats what it does.plz start reading my question! I asked for a way to search from the bottom right to the top left. Thats the opposite direction of the normal PixelSearch() Link to comment Share on other sites More sharing options...
AzKay Posted July 26, 2006 Share Posted July 26, 2006 Ooops, Sorry. # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
ExElNeT Posted July 26, 2006 Author Share Posted July 26, 2006 i ve tried a function but it doesnt work ... any idea? Func PixelSearchReverse($BottomRightX, $BottomRightY, $TopLeftX, $TopLeftY, $PixelColor) For $x = $BottomRightX to $TopLeftX Step -1 For $y = $BottomRightY to $TopLeftY Step -1 if $PixelColor == PixelGetColor($x, $y) Then $result[0] = $x $result[1] = $y Return $result EndIf Next Next EndFunc Link to comment Share on other sites More sharing options...
ExElNeT Posted July 27, 2006 Author Share Posted July 27, 2006 unfortuneatly is this function very very slow ;( takes about 20x of the time of pixelsearch() ;( any ideas to speed up this function? 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