Sign in to follow this  
Followers 0
CrewXp

Retrieving the text at a specific coordinate?

2 posts in this topic

Do you think it's possible to retrieve text at a specific coordinate 'without' clicking on it, and highlighting it?

I'm trying to make a basic little program to help me with some code for c++ and other typing programs like Word I'm working on.

Basically, I want to be able to get the position of the mouse coordinates (the mouse is above the word I want to highlight and save), then at those coordinates, read in the word and save it in a variable for later.

I got everything.... but the getting the text at the coordinates part.

I don't want to use the method of clicking at that position to highlight the word, because it will make me lose track of where I was originally at. (Example: If I'm typing a 20 page long piece of code and I'm mixed in the middle of it... if I go up and my program highlights the word at the top, then i'll lose my spot with the mouse Caret).

Is there any other way except by highlighting with MouseClick?

-Thanks alot!

Share this post


Link to post
Share on other sites



*bumps*

Share this post


Link to post
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
Sign in to follow this  
Followers 0