469,336 Members | 5,987 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,336 developers. It's quick & easy.

Getting python script to write to input box on another window

Hi,

I'm wondering if there is a way to get a python script to write text
to an input box in a window of another program that is running? For
example a text box in a web browser window?

Thanks!

Apr 24 '07 #1
2 2077
sophie_newbie <pa**********@gmail.comwrote:
I'm wondering if there is a way to get a python script to write text
to an input box in a window of another program that is running? For
example a text box in a web browser window?
Yes there is, but the solution depends on the operating system
and the program so you'll have to be more specific.

For Windows and IE you could use COM to connect to the
running application and you can then manipulate the DOM: see

http://groups.google.co.uk/group/com...359e3ff6b905ca

for an example.
Apr 24 '07 #2
En Tue, 24 Apr 2007 06:15:51 -0300, sophie_newbie <pa**********@gmail.com>
escribió:
I'm wondering if there is a way to get a python script to write text
to an input box in a window of another program that is running? For
example a text box in a web browser window?
You could use pyWinAuto on Windows.

--
Gabriel Genellina
Apr 24 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

18 posts views Thread by lawrence | last post: by
8 posts views Thread by Paul Cochrane | last post: by
3 posts views Thread by elrondrules | last post: by
11 posts views Thread by Tom Gur | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by Marylou17 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.