Thank you all for your kind answers.
I was going to use just shell.SendKeys("fu bar"), but as your answers
suggested pywinauto is a ready framework that covers all I need.

I wanted to play some politics with TNT, but I'm new in the company and
my manager won't listen :).

Meitham

Wolfgang Draxinger wrote:
> Meitham wrote:
> 
>> 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 :(.
> 
> You know what the word "market" means? Just tell TNT, that it
> seems they don't need you as a customer and so you will change
> to another parcel service.
> 
> I had the very same situation with a regional parcel service a
> few years ago, you won't believe how quick they were in
> providing me with API information, in the prospect of loosing a
> valuable customer (the fact that you want to automatize the
> process suggests, that you have a lot of stuff to be delivered).
> 
> If they still don't bite, just show them a calculation, that it's
> cheaper for you, to choose another parcel service that might
> cost more, but you can save that money with the automatized data
> entry.
> 
> Of course it's possible to send keypresses, mouse moves/clicks
> and other messages to another application, but then you _MUST_
> make sure, that no other application or a user interferes in the
> process, and if an update of the software changes the interface
> you have to reimplement the stuff from grounds up.
> 
> Wolfgang Draxinger

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

Reply via email to