~ubuntu-branches/ubuntu/utopic/sikuli/utopic

« back to all changes in this revision

Viewing changes to sikuli-ide/sample-scripts/set-ip.sikuli/set-ip.py

  • Committer: Bazaar Package Importer
  • Author(s): Gilles Filippini
  • Date: 2011-01-24 01:07:30 UTC
  • Revision ID: james.westby@ubuntu.com-20110124010730-lzj19enqag94g1ye
Tags: upstream-1.0~x~rc1-dfsg1
ImportĀ upstreamĀ versionĀ 1.0~x~rc1-dfsg1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
ip = input("please enter the new IP address:")
 
2
switchApp("System Preferences.app")
 
3
title = "1273537071282.png"
 
4
with Region(find(title).below()):
 
5
        click("1273537235732.png")
 
6
        click("1254367484704.png")
 
7
        click("1256519960853.png")
 
8
        click("1254367285543.png" )
 
9
        wait("1256520016190.png")
 
10
        type(ip + "\t")
 
11
        type("255.255.255.0\t")
 
12
        type("192.168.0.254\t")
 
13
        click("1254367352295.png")
 
14
        
 
 
b'\\ No newline at end of file'