Results 1 to 4 of 4

Thread: Text grabbing

  1. #1
    Join Date
    Nov 2011
    Posts
    1,532
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Text grabbing

    I searched and I am not sure if my understanding is up to date. But is it the easiest way to grab text from the screen is to use GetTextAtEx()?

    My target is to grab some text which has the font UpCharsEx in a Tbox.

  2. #2
    Join Date
    Nov 2010
    Location
    Australia
    Posts
    1,472
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Yes, thats the right function. But you have to tweak the parameters a little bit.

  3. #3
    Join Date
    Nov 2011
    Posts
    1,532
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I looked at the functions in a previous old post about setting up this function. I don't get how the minspacing and maxspacing parameters are filled in. Can anyone explain?

  4. #4
    Join Date
    Sep 2007
    Location
    Michigan
    Posts
    3,862
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    Use GetTextAtExWrap its better. (uses a box too)

    min/max spacing is the space in pixels to the next character. hspacing is height
    (Scripts outdated until I update for new SRL changes)
    AK Smelter & Crafter [SRL-Stats] - Fast Fighter [TUT] [SRL-Stats]
    If you PM me with a stupid question or one listed in FAQ I will NOT respond. -Narcle
    Summer = me busy, won't be around much.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •