473,378 Members | 1,492 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Searching for a module to generate GUI events

Hello

I'm searching for a Python Module which is able to generate GUI events on
different platforms (at least X11 and Windows, MacOSX would be nice), but
without being a GUI toolkit itself. So PyTk is not a choice, because I need
to use it, to control GUIs of other Programs. I want to generate Mouse
events (move, click etc.) and keyboard events and inject them directly into
the event-queue of the underlying window system.

Does somebody know such a module or do I have to utilize platform specific
tools from within Python?

Regards and Thanks
Stephan

Nov 8 '06 #1
4 1578

Stephan Kuhagen wrote:
Hello

I'm searching for a Python Module which is able to generate GUI events on
different platforms (at least X11 and Windows, MacOSX would be nice), but
without being a GUI toolkit itself. So PyTk is not a choice, because I need
to use it, to control GUIs of other Programs. I want to generate Mouse
events (move, click etc.) and keyboard events and inject them directly into
the event-queue of the underlying window system.

Does somebody know such a module or do I have to utilize platform specific
tools from within Python?

Regards and Thanks
Stephan
http://pywinauto.pbwiki.com/ for Win32

Nov 8 '06 #2
utabintarbo wrote:
http://pywinauto.pbwiki.com/ for Win32
Thanks for the hint, looks usable. But it seems, there's nothing for X11 and
MacOSX. I didn't thought, that the problem would be so unusual...

Stephan

Nov 10 '06 #3
Stephan Kuhagen wrote:
utabintarbo wrote:
http://pywinauto.pbwiki.com/ for Win32

Thanks for the hint, looks usable. But it seems, there's nothing for X11 and
MacOSX. I didn't thought, that the problem would be so unusual...
Searching for "Python GUI testing" on Google gave this as the first
result:

http://www.redhat.com/magazine/020ju...tures/dogtail/

Comments on similar techniques for OS X can be found here:

http://www.oluyede.org/blog/2006/07/...opython-day-1/

Other X11 projects which might support low-level interactions with
applications include the following:

http://python-xlib.sourceforge.net/
http://plwm.sourceforge.net/

Paul

Nov 10 '06 #4
Paul Boddie wrote:
Searching for "Python GUI testing" on Google gave this as the first
result:
Thank you very much, this looks very promissing to me. Seems to be a very
usefull skill, if one is able to type the right words at the google prompt.
Think, I should learn that some day... ;-)

Stephan

Nov 14 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: sam | last post by:
Hi group, I m wondering which Excel module is good to be used by Python? Thanks Sam
15
by: Ron Adam | last post by:
Does anyone have suggestions on how to improve this further? Cheers, Ron_Adam def getobjs(object, dlist=, lvl=0, maxlevel=1): """ Retrieve a list of sub objects from an object. """
33
by: Geoff Jones | last post by:
Hiya I have a DataTable containing thousands of records. Each record has a primary key field called "ID" and another field called "PRODUCT" I want to retrieve the rows that satisy the following...
13
by: Amjad | last post by:
Hi, Is there an equivalent to the "Application.Doevents" method in modules or Windows services? I want to make a Windows service that calls a DLL. The DLL would have all my functions and it...
0
by: athos | last post by:
Dear guys, Now we are trying to build an Audit-Log module for our projects. The idea is to 1. develop a module that could be used by different projects to save the log, including account...
3
by: Daniel Fetchinson | last post by:
Does Python 2.5.2's embedded SQLite support full text searching? Sqlite itself is not distributed with python. Only a python db api compliant wrapper is part of the python stdlib and as such it...
5
by: lemlimlee | last post by:
hello, this is the task i need to do: For this task, you are to develop a Java program that allows a user to search or sort an array of numbers using an algorithm that the user chooses. The...
3
by: Alex Gusarov | last post by:
Hello, I have a following module and in its end I want to initalize collection of tables: Module: from sqlalchemy import * metadata = MetaData() calendars_table = Table('calendars',...
2
Investigator
by: Investigator | last post by:
HI.... Another newbe to the site.... looking for a little help. I have a DB for the purpose of Invetsigations, each time that a new case is opened the process generate two new folders (1.Photos...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.