How python writes text into another windows application

2007-10-29 Thread Meitham
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
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: How python writes text into another windows application

2007-11-01 Thread Meitham
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


Re: etl tool!!!!!

2010-12-29 Thread meitham
BOn Dec 28, 1:14 pm, Stefan Sonnenberg-Carstens
 wrote:
> Am 28.12.2010 13:57, schrieb krishna kumar:> Is there any efficient etl tool 
> developed in python?
>
> Yes, Python.
I use SQLAlchemy for both sources and targets, just because I hate to
type sql queries :-)
I am convincing clients to ditch solutions such informatica and talend
in favour of plain python.
I don't understand the mentality that learning an ETL graphical tool
can be easier than learning a programming language, why don't just
hire programmers and teach them business, after all, programmers are
cheaper and often more intelligent.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: most popular gui framework for python

2010-08-12 Thread meitham
On Aug 11, 8:31 pm, Back9  wrote:
> Hi,
>
> Does anyone know of what is the most popular gui framework for python
> application?
>
> TIA

I used to prefer using GTK mainly because it is available on most
platforms. I have realised the majority of the enterprises prefer to
use browsers even for local applications. So a combination of django/
html/css/jquery/ajax now gives me the best gui I could get. This
approach also forces me to separate logic from presentation, and the
gui will be truly platform independent which could run on any device
with a browser.

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