How to access the content of notepad with Python?

2006-05-31 Thread kepioo
Hi,

I have a software running on my computer that really looks like notepad
( same interface, different name). I need to write a script that will
capture the content of this software -- the text written inside.

Is it possible using win32 libs? any clue?

Thanks!

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: How to access the content of notepad with Python?

2006-05-31 Thread placid

kepioo wrote:
 Hi,

 I have a software running on my computer that really looks like notepad
 ( same interface, different name). I need to write a script that will
 capture the content of this software -- the text written inside.


Dont know about win32, but if you want an easy solution then save the
text you want to capture and then read it via Python!

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: How to access the content of notepad with Python?

2006-05-31 Thread Ravi Teja
 I have a software running on my computer that really looks like notepad
 ( same interface, different name). I need to write a script that will
 capture the content of this software -- the text written inside.

 Is it possible using win32 libs? any clue?

http://www.openqa.org/pywinauto/
The example on their home page is in fact how to automate Notepad. I am
sure you can work from there.

-- 
http://mail.python.org/mailman/listinfo/python-list