Re: Scripting SAP GUI (Windows)

2008-07-02 Thread Prosenjit Kundu

First of all Linux is much better place.

why you want to automate GUI with python. You can easily use QTP such 
GUI testing tools to automate your staff.


But that does not mean I am saying the Python is bad in any way. Py and 
Perl are the two most good things in this world.


py-py,

Prosenjit

Thomas Guettler wrote:

Hi,

I need to script SAP GUI running on MS-Windows:

Open SAP GUI window, if it is not already open, and then batch input
some keystrokes.

The following solutions were found by google:

- autohotkey: not preferred, since it has an own programming
language. This will slow down development.
- pyHook
- user pywin32 and SetWindowsHookEx

I develop with python since seven years, but only on linux.

Any hints?




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


Re: Scripting SAP GUI (Windows)

2008-07-02 Thread Thomas Guettler

I just got this link in a german newsgroup:

http://pywinauto.openqa.org/

Seems to be what I was looking for. Nevertheless feedback still welcome.

Thomas Guettler schrieb:

Hi,

I need to script SAP GUI running on MS-Windows:

Open SAP GUI window, if it is not already open, and then batch input
some keystrokes.

The following solutions were found by google:

 - autohotkey: not preferred, since it has an own programming
language. This will slow down development.
 - pyHook
 - user pywin32 and SetWindowsHookEx

I develop with python since seven years, but only on linux.

Any hints?





--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
--
http://mail.python.org/mailman/listinfo/python-list


Re: Scripting SAP GUI (Windows)

2008-07-02 Thread Sebastian lunar Wiesner
Thomas Guettler [EMAIL PROTECTED]:

 Hi,
 
 I need to script SAP GUI running on MS-Windows:

Doesn't that thing have a COM interface?

-- 
Freedom is always the freedom of dissenters.
  (Rosa Luxemburg)
--
http://mail.python.org/mailman/listinfo/python-list


Re: Scripting SAP GUI (Windows)

2008-07-02 Thread M�ta-MCI (MVP)
Hi! 


Linux is much better place


You confuse proselitism and objectivity...

@-salutations
--
Michel Claveau

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


Re: Scripting SAP GUI (Windows)

2008-07-02 Thread M�ta-MCI (MVP)

Hi!

You can use Autoit.
Bad conception language ; but many good tools, for identify windows, 
process, send keystrokes, emulate mouse, etc.

(Autohotkey is make on Autoit 2 ; Autoit is actually in version 3).
Good trick : Autoit-X is a COM server, with the most importants 
functions of Autoit (nor GUI) ; and Autoit-X can be driven from 
Python+PyWin32.


*sorry for my bad english*

Michel Claveau



PS : http://www.autoitscript.com/autoit3/  ( look also forums)




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