Python Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPython Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 20th, 2004, 03:50 PM
fiomba fiomba is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 6 fiomba User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 25 m 46 sec
Reputation Power: 0
Mouse and keyboard emulation

I am new of this forum and also of Python.

Coming from Windows I appreciated there the several ways of implementing a macro (AutoIt, Macro Express, Macro Scheduler and also VBA and its macro registration in Excel).

Now I am using (and appreciating) Linux and Python (in the Linux version).

Is it possible in Python to simulate the mouse and the keaboard?

The immediate goal is to run a browser (for example, Mozilla), then to simulate mouse mouvements/clics and key presses to enter some text in a field.

The first part is very easy:
Code:
import os
os.system('mozilla www.google.com')


That runs (under Mozilla) the Google search engine.
You could use the mouse and keyboard simulation to enter a search
taken from a file, change the 'advanced search parameters' and so on.
The above is only an example of several possible uses.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPython Programming > Mouse and keyboard emulation


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT