6105 Posted June 6, 2009 Share Posted June 6, 2009 how to do PixelSearch not in square x1,y1,x2,y2 but in circle like a radar? [center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Don't utter a single word[/font][/center][center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Just shut your pretty mouth[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you again[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you[/font][/center][center][font=courier new,courier,monospace]In hell[/font][/center] Link to comment Share on other sites More sharing options...
PsaltyDS Posted June 8, 2009 Share Posted June 8, 2009 how to do PixelSearch not in square x1,y1,x2,y2 but in circle like a radar?PixelSearch() was optimized in C++ within the interpreter to give it acceptable speed.To create a custom version, you could just script the math and loop PixelGetColor(), but it will be painfully slow. If you need the features, you'll have to code analogs to the shade parameter, etc. also. Could be better to just accept the native rectangular area search and make sure the area of the square outside the contingent circle is all black (or some other non-interfering color). Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
martin Posted June 8, 2009 Share Posted June 8, 2009 how to do PixelSearch not in square x1,y1,x2,y2 but in circle like a radar?Doesn't this do that? Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
6105 Posted June 8, 2009 Author Share Posted June 8, 2009 Doesn't this do that?now can) [center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Don't utter a single word[/font][/center][center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Just shut your pretty mouth[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you again[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you[/font][/center][center][font=courier new,courier,monospace]In hell[/font][/center] 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