Jump to content

Get text position of a window game


Recommended Posts

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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

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