~ubuntu-branches/ubuntu/utopic/dogtail/utopic

« back to all changes in this revision

Viewing changes to examples/gnome-panel-test-starting-every-app.py

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2006-12-21 13:33:47 UTC
  • mfrom: (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 5.
  • Revision ID: james.westby@ubuntu.com-20061221133347-xo9jg11afp5plcka
Tags: upstream-0.6.1
ImportĀ upstreamĀ versionĀ 0.6.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/env python
2
 
# Dogtail demo script
3
 
__author__ = 'David Malcolm <dmalcolm@redhat.com>'
4
 
 
5
 
# Tries to start every user-visible application in the GNOME panel
6
 
# FIXME: this doesn't yet work
7
 
 
8
 
from dogtail.apps.wrappers.gnomepanel import *
9
 
 
10
 
import dogtail.config
11
 
dogtail.config.config.debugSearching=True
12
 
 
13
 
panel = GnomePanel()
14
 
for launcher in panel.applications():
15
 
        print launcher
16
 
        sleep(5) # really need this for sanity's sake!
17
 
        launcher.click()    
18
 
        
19
 
 
20