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

« back to all changes in this revision

Viewing changes to examples/rhythmbox-test.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
 
# Test playing a specific song in Rhythmbox, using the procedural API:
6
 
# FIXME: not yet finished (barely started, in fact)
7
 
# FIXME: doesn't work yet.  Tested with Rhythmbox 0.8.8  on FC3
8
 
 
9
 
from dogtail.procedural import *
10
 
from dogtail.utils import *
11
 
 
12
 
run("rhythmbox")
13
 
 
14
 
focus.application('rhythmbox') #FIXME: shouldn't 'run' automatically scope the app?  this call seems to be needed
15
 
 
16
 
# name='Artist', roleName='table column header'
17
 
 
18
 
# name='Album', roleName='table column header'
19
 
 
20
 
 
21