win32gui

G

Gandalf

Hi, everyone
I'm searching the win32gui lib to find a way to get the text under the
user cursor.
so far I managed to find only the controller ID which under the cursor
this way

cursorID = win32gui.WindowFromPoint(win32gui.GetCursorPos())

their is function called GetWindowText I tried to use but it doesn't
work in most of the time

someone know a way to do this?

thank you!
 
T

TheSeeker

Hi, everyone
I'm searching the win32gui lib to find a way to get the text under the
user cursor.
so far I managed to find only the controller ID which under the cursor
this way

cursorID = win32gui.WindowFromPoint(win32gui.GetCursorPos())

their is function called GetWindowText I tried to use but it doesn't
work in most of the time

someone know a way to do this?

thank you!

One app that might be of help with your endeavors is called AutoIt
(http://www.autoitscript.com/autoit3/)

This suite of apps has a nice window browser, which shows most (if mot
all) information available from a Windows window. Sometimes not all
text in a window is available, depending on the window. It even comes
with a COM component, so it can be scripted from Python...

No affiliation, other than a contented user.

Duane
 
T

Tim Roberts

Gandalf said:
Hi, everyone
I'm searching the win32gui lib to find a way to get the text under the
user cursor.
so far I managed to find only the controller ID which under the cursor
this way

cursorID = win32gui.WindowFromPoint(win32gui.GetCursorPos())

their is function called GetWindowText I tried to use but it doesn't
work in most of the time

someone know a way to do this?

Did you not like the reply I gave you the first time you asked this
question?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top