Re: Window handle

[email protected] (Jeff Hobbs)
Newsgroups perl.tcltk
Message-ID <[email protected]>
On 07/12/2009 1:03 PM, Sylvain Thibault wrote:
> Windows XP, AS perl 10 1005
>
> I am trying to get the window ID/handle of a window from another
> application within a Tkx GUI app.
>
> Something like WinSpy++ does, drag and drop to the target window and
> get the window ID.
>
> I am using Win32::GuiTest to write to the window once identified.
>
> Any suggestions how to proceed ?

Does 'winfo id' give you what you want?

http://www.tcl.tk/man/tcl8.5/TkCmd/winfo.htm#M17

Jeff
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.