How python writes text into another windows application

Laurent Pointal laurent.pointal at
Tue Oct 30 09:26:43 CET 2007

Le Mon, 29 Oct 2007 21:53:47 +0000, Meitham a écrit :

> Hi,
> I am trying to write a simple program that reads data from a source file
> (Excel sheet, XML file or text file) and then write the data into
> another application by pasting the data into the applications fields,
> and jumps from one field to another by writing \t tab.
> My question is, how do I write the data into another application fields.
> My target application is the TNT consignment manager. I asked TNT for
> their API to make my life easier but they refused to release it :(. I
> have a software that uses the same way I am looking after to fill in
> application fields, it is the QuickAddress. Any idea how to achieve
> that?
> Thanks
> Meitham

If you run Windows, try with pywinauto, it should have the tools you need 
to control an external application via its gui.

Laurent POINTAL - laurent.pointal at

More information about the Python-list mailing list