← Back to team overview

sikuli-driver team mailing list archive

[Bug 930717] [NEW] Code blocks not working?

 

Public bug reported:

I'm not sure why, but some of my code blocks aren't working...
I'm using revision 905.

[code]
with Region(0,990,411,33):
    click("1Wl.png")
    click("1328937506158.png") //this is outside of the region, but is still clicked
click("1328937272984.png")
type("Hello world")
paste("MeMe")
wait(2)
[/code]

This is a better example
[code]
while True:
    if exists("rt19216803sD.png"):
        find("Atlanta-1.png")
        click("Atlanta-2.png") // these code snippets here are run when the above image doesn't exist
        popup("Openfiler SSH!")
        switchApp("Sikuli-IDE") // This opens up a completely new instance of sikuli, not the same one.
        break
    if exists("SKOD.png"): // I've never seen this run :(
        break;
[/code]

** Affects: sikuli
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/930717

Title:
  Code blocks not working?

Status in Sikuli:
  New

Bug description:
  I'm not sure why, but some of my code blocks aren't working...
  I'm using revision 905.

  [code]
  with Region(0,990,411,33):
      click("1Wl.png")
      click("1328937506158.png") //this is outside of the region, but is still clicked
  click("1328937272984.png")
  type("Hello world")
  paste("MeMe")
  wait(2)
  [/code]

  This is a better example
  [code]
  while True:
      if exists("rt19216803sD.png"):
          find("Atlanta-1.png")
          click("Atlanta-2.png") // these code snippets here are run when the above image doesn't exist
          popup("Openfiler SSH!")
          switchApp("Sikuli-IDE") // This opens up a completely new instance of sikuli, not the same one.
          break
      if exists("SKOD.png"): // I've never seen this run :(
          break;
  [/code]

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/930717/+subscriptions


Follow ups

References