d3mon Posted May 18, 2008 Posted May 18, 2008 Hello everybody In a game, on my head there is my name > so a text and i want to get the position of this text If it's possible i will be very happy! All suggests are welcome ! No-life of autoit...what could be better ?LAST SCRIPTS WITH AUTO-IT : CLICK HERE
m4tek Posted May 18, 2008 Posted May 18, 2008 Usually names are colored so using PixelSearch might be useful. Find out the color and with PixelSearch you can have the script show you name's coords. $coords = PixelSearch( 0, 0, 20, 300, 0x0000FF ) If Not @error Then MsgBox(0, "Pixel's coords are X,Y:", $coords[0] & "," & $coords[1]) EndIf
d4rk Posted May 18, 2008 Posted May 18, 2008 so how you make it a "text" ? the name of char in online game didn't stand as text, if you want to get it, you have works with the game's memory process (i don't know about this, just read someone's post) [quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys
Info Posted May 18, 2008 Posted May 18, 2008 (edited) d4rk rights,you can't get text words in a process with PixelSearch()...You may wanna use Nomad's Memory UDF..: (For your question you'll need to use the _MemoryRead() function)http://www.autoitscript.com/forum/index.php?showtopic=28351 Edited May 18, 2008 by Info
m4tek Posted May 18, 2008 Posted May 18, 2008 (edited) i want to get the position of this textHe said he wanted position of the name..And position of his name can be obtained with PixelSearch. Edited May 18, 2008 by m4tek
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