Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Python (http://www.velocityreviews.com/forums/f43-python.html)
-   -   win32gui (http://www.velocityreviews.com/forums/t658654-win32gui.html)

Gandalf 01-09-2009 01:34 PM

win32gui
 
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!

TheSeeker 01-09-2009 02:08 PM

Re: win32gui
 
On Jan 9, 7:34*am, Gandalf <goldn...@gmail.com> wrote:
> 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

Gandalf 01-09-2009 02:39 PM

Re: win32gui
 
thank you I'm checking autoit documentation...

Tim Roberts 01-13-2009 06:21 AM

Re: win32gui
 
Gandalf <goldnery@gmail.com> wrote:
?
>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?
--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.


All times are GMT. The time now is 06:24 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.