Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #87824

Re: Automation of Windows app?

Date 2015-03-23 01:35 -0700
From Albert-Jan Roskam <fomcl@yahoo.com>
Subject Re: Automation of Windows app?
Newsgroups comp.lang.python
Message-ID <mailman.61.1427100052.10327.python-list@python.org> (permalink)

Show all headers | View raw


------------------------------
On Sun, Mar 22, 2015 6:41 PM CET Emile van Sebille wrote:

>On 3/20/2015 10:55 AM, Grant Edwards wrote:
>
>> I need to automate operation of a Windows application.
>
>I've been productively using python to create macro scheduler [1] scripts to automate windows programs for years.
>
>A sample script:
>
>Press Alt
>Send Character/Text>cu
>Release Alt
>WaitWindowOpen>Sheets*
>Wait>1
>Press Alt
>Send Character/Text>ls
>Release Alt
>Wait>1
>Wait>1
>Press Alt
>Send Character/Text>fs
>Release Alt
>Wait>1
>
>
>HTH,
>
>Emile
>
>
>[1] https://www.mjtnet.com/
>
>-- https://mail.python.org/mailman/listinfo/python-list

I've used SendKeys before: https://pypi.python.org/pypi/SendKeys/0.3

There's also a ctypes implementation of it. 

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Automation of Windows app? Albert-Jan Roskam <fomcl@yahoo.com> - 2015-03-23 01:35 -0700

csiph-web