Re: [Sikuli-driver] [Question #139475]: Sikuli X 1.0rc1 - How to get an exact match with click(String)?

2011-01-12 Thread Gary Lee
Question #139475 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/139475

Gary Lee requested for more information:
I also meet with the same problelms with SIKULI OCR engine,will the next
release sikuli version improve it?

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #117930]: Click not working for Silverlight in IE.

2011-01-12 Thread RaiMan
Question #117930 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/117930

Status: Open = Answered

RaiMan proposed the following answer:
Problem fixed in Sikuli X

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #120162]: lock up mouse(movement+click)

2011-01-12 Thread RaiMan
Question #120162 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/120162

Status: Open = Answered

RaiMan proposed the following answer:
Bug report created

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 516258] Re: [feature request] ESC should cancel screenshot

2011-01-12 Thread RaiMan
** Summary changed:

- Cannot cancel screenshot
+ [feature request] ESC should cancel screenshot

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

Title:
  [feature request] ESC should cancel screenshot

Status in Sikuli:
  Triaged

Bug description:
  Sikuli 0.9.8

  Mac OS 10.6.x, 10.5.x, Win XP

  Cannot cancel screenshot.

  FEATURE REQUEST:

  you should be able to hit esc to cancel the screenshot.



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 696822] Re: [request] want a real standalone sikuli-script.jar

2011-01-12 Thread RaiMan
** Summary changed:

- [feature request] want a real standalone sikuli-script.jar
+ [request] want a real standalone sikuli-script.jar

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

Title:
  [request] want a real standalone sikuli-script.jar

Status in Sikuli:
  Fix Committed

Bug description:
  scope: Sikuli X on all platforms.

  --- Request:
  Available with the downloadable package I want to have a fully self contained 
sikuli-script-standalone.jar. No fiddling around with dynamic link libraries 
and system path's. It should just be sufficient to have it in the java class 
path and if needed in the python path (sys.path, the need to say 
sikuli-script-standalone.jar/Lib is acceptable). from sikuli.Sikuli import * 
should then be all I have to do.
  Possible Solution: pack ALL needed native libraries in the jar file and copy 
them as needed at runtime into the appropriate temp folder so they can find 
themselves automatically. It should be one .jar for all platforms to be able to 
pack it together with the scripts.

  --- Current Situation:
  When you decide (based on whatever reasons) to not use the Sikuli IDE to 
edit, run and debug your scripts, you only need two resources from the package 
you download from Sikuli home:
  - the folder that contains the native libraries (openCV (has to be installed 
seperately on Linux) and some system specifics)
  - sikuli-script.jar

  With some practical differences on the platforms you have to take care:
  - that Sikuli finds the native libraries (mainly using path specifications in 
system path)
  - to have sikuli-script.jar in the java class path
  - to have sikuli-script.jar/Lib in the Python path (sys.path)
  - to say from sikuli.Sikuli import *  in your main module and all imported 
modules using Sikuli features
  - preserve the .sikuli/.skl folder structure if you want to use the new 
import/imagePath feature

  (I know, that there are currently problems with 64-Bit environments,
  but this has nothing to do with this principal approach)

  This is all you need for the Python level. 
  If you want to use Sikuli features on the Java level, it is principally the 
same (but no need for Python path, Sikuli features are imported using 
org.sikuli.script.*)

  Having this prepared you can use IDE's like NetBeans or Eclipse (you
  might need plugins for Python) to edit, run and debug your scripts and
  run your scripts using plain Jython or Java.

  With the new features of Sikuli X it is now possible to manage your
  image libraries and some related scripts with Sikuli IDE, but
  completely using e.g. NetBeans to do the programming (edit, run,
  debug, ...) of your workflows and/or test suites.

  --- Current technical solution regarding the dynamic libraries:
  When the initialization logic in sikuli-script.jar (triggered with the first 
import sikuli.Sikuli) realizes, that it is not running in the IDE context, it 
copies some proxy dynamic libraries contained in sikuli-script.jar to a temp 
directory, that in turn will try to find the other above mentioned native 
libraries. this location is maintained in the java system property 
java.library.tmpdir and can be set by the script before the first import of 
Sikuli features.

  On Windows currently it is sufficient to add the following to the system path:
  path-to-the-folder-containing-the-dynamicLibraries;path-to-java\jre6\bin

  On Linux it should be similar

  On Mac you have to  manipulate the jnilib's and dylib's to contain the
  correct pointers to each other, depending on the location of the
  libraries (if interested contact me directly). the most flexible way
  is to use the directive @loader_path.

  --- Specifying sikuli-script.jar/Lib in IDE's
  in some IDE/platform combinations it is not possible to specify this in the 
settings panels. 
  Then you have the following choices:
  - in your main script modify sys.path before the first import of Sikuli 
features
  - edit the relevant configuration file by hand: (Netbeans: User folder 
.netbeans/build.properties, Eclipse: I do not know ;-)



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 683336] Re: [request] Would like a 64 bit version of Sikuli

2011-01-12 Thread RaiMan
** Summary changed:

- Would like a 64 bit version of Sikuli
+ [request] Would like a 64 bit version of Sikuli

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

Title:
  [request] Would like a 64 bit version of Sikuli

Status in Sikuli:
  New

Bug description:
  Hello, we recently built an automation framework using Sikuli as the
  image searching algorithm. It works FANTASTICALLY. The problem we face
  now is that we need more power. Sadly, Sikuli doesn't play nice with
  java 64 bit. Recently I saw OpenCV has in it's change logs that it can
  compile into 64 bit. We're trying that now since that is the error
  that's thrown, but we don't know if that will actually solve the
  problem.  I'd like to request a 64 bit compatible version of Sikuli,
  we're currently using the .jar java libraries, but a 64 bit IDE would
  be awesome too. I was recommended to post a bug feature request here
  instead from this answer:

  https://answers.launchpad.net/sikuli/+question/136113

  Version we use: Currenly using 10.2 .jars
  Operating system: Windows 64 bit, Ubuntu 64 bit, and Mac 64 bit
  Procedure: Try to run Sikuli functions on 64 bit Java JVM



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 688951] Re: [request] character recognition

2011-01-12 Thread RaiMan
** Summary changed:

- [feature request] character recognition
+ [request] character recognition

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

Title:
  [request] character recognition

Status in Sikuli:
  Fix Committed

Bug description:
  First of all, this is not a defect but a feature request.

  Sikuli is already very cool. It would be perfect if it can recognize 
characters from images. With this OCR alike feature, UI item comparison could 
be done based on strings, consequently bring the following benefits:
  1. less screenshots need to be taken
  2. easy script migration among platforms, OSes and languages



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 672581] Re: [request] non-continuous wait needed

2011-01-12 Thread RaiMan
** Summary changed:

- [feature request] non-continuous wait needed
+ [request] non-continuous wait needed

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

Title:
  [request] non-continuous wait needed

Status in Sikuli:
  Fix Committed

Bug description:
  I found that using wait seems to be chewing a lot of CPU cycles and impacts 
the underlying app I am trying to test.
  When I run Sikuli and the test application on separate machines there are no 
problems. However when I run the sikuli and the test app on the same machine, 
sikuli slows down the test app significantly.

  I narrowed the problem down to the wait statement. I timed the test
  app when I did wait(non-existent-image,100) and I saw that the
  underlying app response was x5 times slower at the least.

  Of course I can write my own mywait that will do something like:

  attempts=NN
  while not exists(img) and attempts0:
sleep(2)
attempts=attempts-1

  Ideally I would like to be able to tell wait to examine screen at
  certain interval, not continuously.

  see question 132797



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 666402] Re: [request] way to run Sikuli's image match preview

2011-01-12 Thread RaiMan
** Summary changed:

- wishlist: way to run Sikuli's image match preview
+ [request] way to run Sikuli's image match preview

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

Title:
  [request] way to run Sikuli's image match preview

Status in Sikuli:
  New

Bug description:
  I would like to request a new flag to the sikuli-ide.sh command that
  would take a parameter of a PNG file, and go directly into the pattern
  match preview popup that the IDE provides when clicking on an image.
  Something like: sikuli-ide.sh -i imageToTest.png

  Rationale: Following an example I saw here, I'm writing a lot of
  Sikuli-enhanced support libraries, using the execfile() workaround
  to import the libraries into the Sikuli JUnit scripts. As I get better
  using the Sikuli API, I find that I use the IDE less and less for
  authoring and maintaining scripts, but I do have a need to test image
  matches against various states of the application I'm testing.
  Currently, I work around this by just creating a 'scratch.sikuli'
  project, and I can copy the PNG files I want to test into
  scratch.sikuli and list them in scratch.py.

  I assume that others who develop a test library and a series of
  utility methods have a similar workflow, and I hope it'd be of general
  use to others to test image matching without the IDE.



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #132797]: Status of bug #672581 changed to 'Fix Released' in Sikuli

2011-01-12 Thread RaiMan
Bug #672581 status changed in Sikuli:

Fix Committed = Fix Released


https://bugs.launchpad.net/sikuli/+bug/672581
[request] non-continuous wait needed

This bug is linked to #132797.
non-continuous wait
https://answers.launchpad.net/sikuli/+question/132797

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 688951] Re: [request] character recognition

2011-01-12 Thread RaiMan
** Changed in: sikuli
   Status: Fix Committed = Fix Released

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

Title:
  [request] character recognition

Status in Sikuli:
  Fix Released

Bug description:
  First of all, this is not a defect but a feature request.

  Sikuli is already very cool. It would be perfect if it can recognize 
characters from images. With this OCR alike feature, UI item comparison could 
be done based on strings, consequently bring the following benefits:
  1. less screenshots need to be taken
  2. easy script migration among platforms, OSes and languages



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 681065] Re: [request] control over how rapidly / when the screen is sampled

2011-01-12 Thread RaiMan
** Changed in: sikuli
   Status: Fix Committed = Fix Released

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

Title:
  [request] control over how rapidly / when the screen is sampled

Status in Sikuli:
  Fix Released

Bug description:
  It would be nice if some sort of control when or how rapidly the
  screen is sampled would be exposed to the script (since taking
  screenshots is expensive to the system, eg. leading to choppy
  animations in some instances).

  These i would like to see to have more control over the performance
  impact of sikuli:

  An option to dynamically (changeable by the script at runtime) set the 
minimum timespan between screencaptures.
  Exposed as a property (eg. 'samplerate') to screen and region (with region 
inheriting from screen in case property is None there).

  Idea is that observers, find, wait and waitVanish can be tuned to be
  nicer to the system (or can react faster in case a low delay is set).

  Second part of this is that screen captures can be made or reused on scripts 
demand.
  Leading to script being in control if it wants to perform several operations 
on a single captured frame, or to request a new one.

  So the signature of exists() should be extended with an optional
  parameter: capture=None

  Possible values for capture:
  True: instant new screencapture for this operation.
  False: reuse of last screenshot.
  None: normal screen polling (= as it currently works), but modified by 
samplerate option above.

  Related: https://answers.launchpad.net/sikuli/+question/132797

  Any comments on this?



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 635806] Re: [request] Global hotkey for run

2011-01-12 Thread RaiMan
** Summary changed:

- RFE: Global hotkey for run
+ [request] Global hotkey for run

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

Title:
  [request] Global hotkey for run

Status in Sikuli:
  New

Bug description:
  Request for enhancement.

  There is a global hotkey for taking a screenshot, but I have been
  unable to find a hotkey for running.

  It would be nice to have a configurable hotkey, so I can have one
  hotkey for one Sikuli script and another hotkey for another Sikuli
  script.

  Maybe it should be possible to bind any Sikuli function (not just
  'run') to a hotkey?

  Sikuli 0.10.2 32-bit linux



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 676051] Re: [request] rename an image or load an external image

2011-01-12 Thread RaiMan
** Changed in: sikuli
   Status: Fix Committed = Fix Released

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

Title:
  [request] rename an image or load an external image

Status in Sikuli:
  Fix Released

Bug description:
  Hi all,

   On the version 0.10.2 of the Sikuli IDE there is some
  restrictions like no possibility to rename the image when we take a
  screen shot or to use an external image of type
  local_variable+image.png. I suggest the attached patch to fix
  these problems and improve the IDE. This patch adds a function to
  rename the name of a local image and another to edit a complex
  expression of type local_variable+image.png. For the second
  function, the test is saved then reloaded to be able to analyse the
  content of the local_variable. These functions are available from a
  right click on an image in the IDE. There is also a refresh button in
  the menu bar to do a refresh of the current test when a lot of
  modifications are done (for example : update of local variables). Can
  you tell me if these imrpovment could be integrated in a new version
  of Sikuli maybe the 0.10.2.1 ?

  Regards
  Stephane



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 644982] Re: [request] implement an Application class

2011-01-12 Thread RaiMan
** Changed in: sikuli
   Status: Fix Committed = Fix Released

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

Title:
  [request] implement an Application class

Status in Sikuli:
  Fix Released

Bug description:
  Implement an Application class App with the following features

  myApp = App(application name/path to executable)
  creates a new App object with the following

  --- attributes
  appPath - path to the executable
  appWindows - a list containing window titles 

  --- methods
  appOpen()
   - starts a new instance of App and calls switch()
  appSwitch()
   - makes the current active window of the app instance the frontmost, if not 
running calls open() before
  appClose()
   - closes the app with all its windows and destroys the App object
  --- appSwitch() and appClose(): these methods can have a parameter, which 
represents a window title, 
  in which cases the operation is targeted at the specific window, 
  added to appWindows if success, closing a window deletes it from 
appWindows
  --- appOpen() and appSwitch() return the window title of the frontmost 
window, False in case of an error
  appGetWindow(window title)
   - returns specific information about that window (position, size, minimized, 
hidden, visible, ). without a parm, it takes the frontmost. may return 
False. 
  appGetWindowRegion(window title)
   - convenience function: make window frontmost and return a Region object 
representing the outer bounds of the window. may return False
  appSetWindowRegion(region) 
  - tries to move/resize the frontmost window, may return False

  With this implementation, the user is responsible to identify
  additional windows of an app using switchApp(window title). Only the
  frontmost app window should be known inside automatically. No tracking
  of opening/closing app windows by the App object itself.

  the challenge:
  be able to differentiate between instances of the same application.

  based on the idea of Lance Jensen (https://launchpad.net/~lance-ti)
  in question https://answers.launchpad.net/sikuli/+question/126270
  --- Enhancement App Object:
  In my mind making an app object would be very helpful and make Silkui easier 
to use and more reliable. An app should have an executiblePath, a name handle, 
a default size varibles. It should have .start()/run() to start the program, 
.switch() to toggle it between forground or background, .size() to set to 
default size with no arguments or to a dimension if arguments are passed, and 
getCenter(). With this type of structure then I think sikuli scripts could be 
more transportable. As it is, time optimizations cost reliability and 
transportability which affects the scaling of your software.



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 627986] Re: [request] support Python import for reusable scripts

2011-01-12 Thread RaiMan
** Changed in: sikuli
   Status: Fix Committed = Fix Released

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

Title:
  [request] support Python import for reusable scripts

Status in Sikuli:
  Fix Released

Bug description:
  This report is related to different questions and requests that ask
  for a feature to import reusable code in a manner like using the
  Python import feature. a summary is reported in FAQ 1114
  (https://answers.launchpad.net/sikuli/+faq/1114), but it is not
  possible to comment there.

  MY REQUEST is, to implement the following somehow into Sikuli, so that
  it can be controlled by setting a preference library path or giving
  an arg like lib=a-path to a .skl. when the script is running, this
  path should be availble (e.g. Env.getLibraryPath()) and sys.path
  should be set accordingly. So a simple from myLib import * should
  work as expected.

  Following is based on Sikuli 10.2 and works on both Mac 10.6 (my
  primary system) and Win7. Just using the Sikuli IDE, no handling of
  any .py files.

  (tip: no need for import sys or import time, since this is already
  done during the initialization of Sikuli, just use it)

  --- create a script that contains some functions, that you want to reuse and 
save it somewhere (e.g. myLib.sikuli)
  example content:
  def myFunction()
  print Hello from myLib

  --- to use your reusable script try in the IDE
  sys.path.append(absolute-path-to-myLib.sikuli)
  # Mac e.g. /Users/myName/myLib.sikuli
  # Windows e.g. c:\\myStuff\\myLib.sikuli
  from myLib import * # your functions are available in the local namespace now
  myFunction() # Hello ... shows up in the message area

  If you want to use Sikuli functions in your reusable code, your myLib needs 
an additional import:
  from sikuli.Sikuli import * # should be the first line in myLib.sikuli

  --- If you are using images in your myLib script, these will be stored
  in myLib.sikuli. But at runtime they will not be available, since the
  path of your main script is where Sikuli looks for the image files.

  Solution:
  the image references have to be qualified to point to myLib.Sikuli:
  example content of myLib.sikuli:
  from sikuli.Sikuli import * 
  imagePath = sys.path[-1] + / # (Windows: \\)
  # obviously the path to myLib.Sikuli ;-)
  def myFunction()
  return find(imagePath + 128068882.png)

  128068882.png would be replaced by its thumbnail, when editing
  myLib.sikuli in the IDE.

  --- If you want to import more than on .sikuli, you have to append each one 
to sys.path and give different imagePath's.
  e.g.
  sys.path.append(absolute-path-to-myLib1.sikuli)
  from myLib1 import * # your functions are available in the local namespace now
  sys.path.append(absolute-path-to-myLib2.sikuli)
  from myLib2 import * # your functions are available in the local namespace now

  and in myLib1:
  myLib1Path = sys.path[-1] + / # (Windows: \\)
  and in myLib2:
  myLib2Path = sys.path[-1] + / # (Windows: \\)

  Tip: setup a naming convention for your reusables.

  +++ CAUTION +++ when testing in the IDE: Due to the fact, that sys.path is 
bound to the life of the IDE, it is not reset when running the same script 
again (your path is appended again). Same goes for the import: no reload on 
rerun. So if you make changes to your myLib, you have to stop and restart the 
IDE.
  If you want to avoid the sys.path problem, code instead:
  myLib = absolute-path-to-myLib.sikuli
  if not myLib in sys.path: sys.path.append(myLib)

  All this is no problem, when running your script as .skl, since in
  this case everything starts from scratch at every rerun.

  --- Additional info, if you want to deal with .py files directly:
  sys.path contains a path, that points to a directory of the sikuli 
installation, that does not exist (don't know why, where and how, but I guess 
it is some standard that is set when initializing a PythonInterpreter based on 
the actual Java classpath):
  Mac: /Applications/Sikuli-IDE.app/Contents/Resources/Java/Lib
  Windows: C:\\Program Files\\Sikuli\\Lib
  if you have a standard installation of Sikuli.
  If you now move .py-files (e.g. myLib.py from our myLib.sikuli above) into 
this directory (after creating it ;-), you can use from myLib import * 
without any manipulation of sys.path.
  This can be used, when you want to add some basic additions to Sikuli or 
helpers (e.g. a function, that supports the handling of sys.path) that you use 
in many of your scripts. 

  --- next step
  test this with python modules, that are not available in the Jython 
environment (PIL, pyTesser, ...)



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 585342] Re: [request] IDE shortcut: comment/uncomment a whole block

2011-01-12 Thread RaiMan
** Summary changed:

- [feature request] IDE shortcut: comment/uncomment a whole block
+ [request] IDE shortcut: comment/uncomment a whole block

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

Title:
  [request] IDE shortcut: comment/uncomment a whole block

Status in Sikuli:
  Triaged

Bug description:
  If you want to test some code actions, you often have to comment out some 
lines in your code.
  It would be very nice if there was a key kombination for commenting out a 
whole selected code block.

  I also use the Eclipse editor for programming in Java, an there is a
  feature like that.

  Maybe this feature would increase the usability of SIKULI much.



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 585289] Re: [request] possablility to update sikuli itself inplace

2011-01-12 Thread RaiMan
** Summary changed:

- [ feature request ] possablility to update sikuli itself
+ [request] possablility to update sikuli itself inplace

** Summary changed:

- [request] possablility to update sikuli itself inplace
+ [request] possablility to update sikuli itself in place (no reinstall)

** Summary changed:

- [request] possablility to update sikuli itself in place (no reinstall)
+ [request] possibility to update sikuli itself in place (no reinstall)

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

Title:
  [request] possibility to update sikuli itself in place (no reinstall)

Status in Sikuli:
  New

Bug description:
  Maybe it's not very neccesary at this moment, but as more options you
  add in Sikuli it may makes sense:

  If the auto update notification shows a new version, it could be more
  easy for the user just click a button like update now and Sikuli
  itself is downloading the changed packages and replace the old ones
  instead downloading the whole installation file from Sikuli website
  and reinstall by hand. So all options can stay as the user set them.



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 559629] Re: [request] A method to get Sikuli version

2011-01-12 Thread RaiMan
** Summary changed:

- [feature request] A method to get Sikuli version
+ [request] A method to get Sikuli version

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

Title:
  [request] A method to get Sikuli version

Status in Sikuli:
  New

Bug description:
  A feature request for a method to get the Sikuli version info.

  It would be nice to be able to get the current version info of Sikuli
  while a script is running in order to print to log files.

  Code Example:
  version = getVersion()   # Can return a string like v0.9.9 or an even more 
detailed string like v0.9.9 22Feb2010
  log += version
  print log



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 532519] Re: [request] Exception FindFailed: last successful match and last screenshot should be accessible

2011-01-12 Thread RaiMan
** Summary changed:

- Exception FindFailed: last successful match and last screenshot should be 
accessible
+ [request] Exception FindFailed: last successful match and last screenshot 
should be accessible

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

Title:
  [request] Exception FindFailed: last successful match and last
  screenshot should be accessible

Status in Sikuli:
  New

Bug description:
  more a feature request: (updated after 0.10 released)

  especially for long running, unattended scripts its vital, to have as
  much information available in case of FindFailed.

  After an unsuccessful find getLastMatch() returns None. the
  lastMatch() should be left untouched, to be available in these cases.

  On top, if there would be a (maybe limited) stack like
  region.findHistory (accessible with a region.getHistory() returning a
  list of matches), where the last successful match would be pushed in,
  you would have access to what happened in case of failure, without
  additional coding in the script.

  in case of FindFailed the last screenshot should be available.
  (additional option saveScreenshotAtFindFailed(path-to-a-file))



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 516258] Re: [feature] ESC should cancel screenshot

2011-01-12 Thread RaiMan
** Summary changed:

- [feature request] ESC should cancel screenshot
+ [feature] ESC should cancel screenshot

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

Title:
  [feature] ESC should cancel screenshot

Status in Sikuli:
  Triaged

Bug description:
  Sikuli 0.9.8

  Mac OS 10.6.x, 10.5.x, Win XP

  Cannot cancel screenshot.

  FEATURE REQUEST:

  you should be able to hit esc to cancel the screenshot.



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 529359] Re: [request] Option to hide mouse cursor while doing find

2011-01-12 Thread RaiMan
With Sikuli X it is some lines of code packed in def() that moves the
mouse to a safe place and then brings it back if needed.

These are my helpers stored in my generics lib, that I import in every
script.

Settings.SaveMouseLocation = Location(0,10) # save place on Mac

def hideMouse():
mmd = Settings.MoveMouseDelay
Settings.MoveMouseDelay = 0
Settings.SaveMouseLocationSaved = Env.getMouseLocation()
mouseMove(Settings.SaveMouseLocation)
Settings.MoveMouseDelay = mmd

def unhideMouse():
mmd = Settings.MoveMouseDelay
Settings.MoveMouseDelay = 0
mouseMove(Settings.SaveMouseLocationSaved)
Settings.MoveMouseDelay = mmd

I use Settings as temp storage to not have to use global and make usage
clear.

usage:
hideMouse(); find(something); unhideMouse()

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

Title:
  [request] Option to hide mouse cursor while doing find

Status in Sikuli:
  New

Bug description:
  Find has failed a number of times for me just because the mouse cursor 
happened to overlap the image in question.
  It would be nice if some kind of option made the mouse cursor disappear 
before doing the find.



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #140519]: Sikuli X - Windows - libraries not found - Win32Util.dll - problems when running a script

2011-01-12 Thread RaiMan
Question #140519 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/140519

Linked to bug: #694899
https://bugs.launchpad.net/bugs/694899
Sikuli x1.0-rc1 bat mode crashes on Windows

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 695720] Re: X 1.0rc1: with Region: and Region.click() fail when using region returned by App().window()

2011-01-12 Thread RaiMan
** Summary changed:

- [Sikuli X] with Region: and Region.click() fail when using region 
returned by App().window()
+ X 1.0rc1: with Region: and Region.click() fail when using region returned 
by App().window()

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

Title:
  X 1.0rc1: with Region: and Region.click() fail when using region
  returned by App().window()

Status in Sikuli:
  New

Bug description:
  # I use Sikuli X on windows XP. 
  # The Grouping Method Calls (with Region:) works when using Region()
  def Region_with():
reg = Region(468,212, 344, 570)
reg.highlight(2)
with reg:
sleep(1)

  # But fails when using App().window()
  def window_with():
reg= App(SOMEAPP).window(0)
reg.highlight(2)
with reg:
sleep(1)

  # Error Message: AttributeError: 'org.sikuli.script.Region' object has
  no attribute '__exit__'


  # Simalar problem happend on reg.click(), works for Region()
  def Region_click():
reg = Region(468,212, 344, 570)
reg.highlight(2)
reg.click(image1)

  # But fails on App().window()
  def window_click():
reg= App(SOMEAPP).window(0)
reg.highlight(2)
reg.click( image1)

  # Error Message: TypeError: click(): expected 2 args; got 1



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 695616] Re: X 1.0rc1 - Inconsistency in text recognition and matching, especially with integers-as-text!

2011-01-12 Thread RaiMan
** Summary changed:

- Sikuli X 1.0rc1 - Inconsistency in text recognition and matching, especially 
with integers-as-text!
+ X 1.0rc1 - Inconsistency in text recognition and matching, especially with 
integers-as-text!

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

Title:
  X 1.0rc1 - Inconsistency in text recognition and matching, especially
  with integers-as-text!

Status in Sikuli:
  New

Bug description:
  I have noticed inconsistency in the Sikuli X text recognition and
  matching, especially when text on the screen/region are integers.
  Below are the steps to reproduce the problem scenario:

  Step1: In your web browser open 'TextOnTheScreen.png' from the
  following web-link (http://qoydkw.bay.livefilestore.com
  
/y1pSr0oDju9ndvMzJJfo_qWD2qEvMdDDwoKquMNWWkUYAxgrsVcXmETY8yW_LqIieOKXgwlTt8yxe8eQDY-
  SCySCFljo59mSSIC/TextOnTheScreen.png?psid=1)

  Step2: To the below sikuli script, provide region coordinates of the 
'TextOnTheScreen.png' image which is on your web browser. Note! region 
coordinates must be significantly bigger because you will zoom-in  zoom-out of 
the visible content on your browser in-order to carry-out multiple text 
recognition tests.
  
  r = Region(“TextOnTheScreen”)
  t1 = 534438
  t2 = 534177
  t3 = 4438
  t = t2
  m = r.exists(t,0)
  if m:
  if m.text() == t:
   popup(Exact match)
  else:
   popup(m.nearby().text())
  else:
  popup(Nothing found at all!)
  

  Step3(TestCase1): Now, run the above sikuli script with t = t2. You might 
notice one or more of the following:
  - Integers such as 7  8 are incorrectly recognised
  - All the integers-as-text are recognised correctly
  - Only few integers are recognised correctly

  Questions: 
  - Does the text recognition depend on how much OCR gets trained? 
  - Does the font-type  font-size matter? 
  - Should there be a mechanism for validating an exact-match for text 
recognition?

  Step4(TestCase2): Now, back to your browser where the
  'TextOnTheScreen.png' image is visible. Try to zoom-out (ctrl-) the
  image and run the above sikuli script with t = t2. You should now
  notice variation in the text recognition results.

  Step5(TestCase3): Repeat 'TestCase2' with different zoom-levels in
  your browser, you might get varied text recognisation results.

  Step6(TestCase4): Now, run the above sikuli script with t = t3. You
  might notice that integers-as-text are not recognised at all or with
  luck it might recognise some integers-as-text?

  Hope this provide some test-cases for troubleshooting inconsistency in
  text/integer recognition.

  Questions:
  - Should text and integer recognition be independent operations? Should there 
be a choice for the application developer if she/he wants to combine and/or 
isolate such operations where-seen-fit? Would such separation lead to 
reduced-OCR-complexity/accuracy/better-control over the OCR?
  - How would one reliably obtain an exact string match for e.g. with 
click(String) operation?



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 694899] Re: x 1.0rc1 bat mode crashes on Windows

2011-01-12 Thread RaiMan
** Summary changed:

- Sikuli x1.0-rc1 bat mode crashes on Windows
+ x 1.0rc1 bat mode crashes on Windows

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

Title:
  x 1.0rc1 bat mode crashes on Windows

Status in Sikuli:
  Confirmed

Bug description:
  when i try Sikuli x1.0-rc1 on windows 32bit in bat mode, the error pop
  up, can't find dependent library!



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 694771] Re: X 1.0rc1 sikuli-script.jar not working on Linux Ubuntu 10.04 64bit

2011-01-12 Thread RaiMan
** Summary changed:

- Java NullPointerException when using Sikuli-X-1.0-RC1's 'sikuli-script.jar' 
with Java program on Linux Ubuntu 10.04 64bit
+ X 1.0rc1 sikuli-script.jar not working on Linux Ubuntu 10.04 64bit

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

Title:
  X 1.0rc1 sikuli-script.jar not working on Linux Ubuntu 10.04 64bit

Status in Sikuli:
  New

Bug description:
  I need your help to figure-out if 'sikuli-script.jar' from 'Sikuli X
  1.0 RC1' package is supported for Java programs running on Linux
  64bit?

  What is that I'm attempting?
  Use Sikuli-X script within Java program (JVM 1.6).

  What's the problem?
  The problem I'm facing is the below mentioned Error dump. This error occurs 
when executing a simple Java program which attempts to call 
'Screen.find(image.png)'.

  What's working?
  The good news is ./sikuli-ide.sh works on my Linux Ubuntu 10.04 64bit. 
Hence, I can only execute sikuli scripts on my linux desktop from sikuli-ide.

  ---
  Error dump produced when run the java code with Eclipse-IDE(Helios)
  ---
  Exception in thread main java.lang.ExceptionInInitializerError
   at edu.mit.csail.uid.Region.findNow(Region.java:554)
   at edu.mit.csail.uid.Region.wait(Region.java:257)
   at edu.mit.csail.uid.Region.find(Region.java:215)
   at SikX_Test101.main(SikX_Test101.java:11)
  Caused by: java.lang.NullPointerException
   at 
com.wapmx.nativeutils.jniloader.DefaultJniExtractor.extractResource(DefaultJniExtractor.java:113)
   at 
com.wapmx.nativeutils.jniloader.DefaultJniExtractor.extractJni(DefaultJniExtractor.java:98)
   at 
com.wapmx.nativeutils.jniloader.NativeLoader.loadLibrary(NativeLoader.java:43)
   at edu.mit.csail.uid.Finder.clinit(Finder.java:20)
   ... 4 more

  
  Java code being executed
  
  import edu.mit.csail.uid.*;

  public class SikX_Test101 {

   public static void main(String[] args) {

    Screen s = new Screen();

    try {

     s.find(imgs/test.png);

    } catch (FindFailed e) {
     e.printStackTrace();
    }
   }
  }

  -
  Software  Libraries that are installed on Ubuntu 10.04 64Bit
  -
  - Sikuli-X-1.0rc1-linux-x86_64.zip (For 64bit Linux)
  - OpenCV 2.1 on Ubuntu 10.04 
(http://tutorial.downloadatoz.com/how-to-install-opencv-2-1-on-ubuntu-10-04.html),
 which includes the following libraries on my Ubuntu:
   build-essential
   libgtk2.0-dev
   libavcodec-dev
   libavformat-dev
   libjpeg62-dev
   libtiff4-dev
   cmake
   libswscale-dev
   libjasper-dev

  --
  System Information
  --
  Platform: Ubuntu 10.04 64Bit
  Processor: AMD Sempron 2800+
  Java version:
  java version 1.6.0_22
  Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
  Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #140519]: Sikuli X - Windows - libraries not found - Win32Util.dll - problems when running a script

2011-01-12 Thread RaiMan
Question #140519 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/140519

Linked to bug: #694113
https://bugs.launchpad.net/bugs/694113
No Sikuli launcher from Start Menu

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #141139]: Stop Sikuli with Java code

2011-01-12 Thread Dantel D
New question #141139 on Sikuli:
https://answers.launchpad.net/sikuli/+question/141139

Hey. I have another question. Is there a way to reliably stop a running Sikuli 
script out of Java? I tried to simulate the alt+shift+c combination, also tried 
alt+c and it doesent work under WinXP. Sometimes it seems like the script is 
stopped, but the mouse cursor keeps flashing as if the script is running. The 
only thing that helps for sure is to close the whole Java Application.

Is there a way to kill the script for sure? I need that in case people clicked 
on some buttons by mistake and want to stop the script clicking on another 
button - and it happens quite often.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 693570] Re: Save As: Overwrite existing .sikuli corrupts existing Image

2011-01-12 Thread RaiMan
** Changed in: sikuli
   Status: Fix Committed = Fix Released

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

Title:
  Save As: Overwrite existing .sikuli corrupts existing Image

Status in Sikuli:
  Fix Released

Bug description:
  1. The version of Sikuli you were using.
  0.10.2

  2. Your operating system, 32-bit or 64-bit, and its version.
  WinXP 32-bit and Win7 64-bit

  3. The procedure to reproduce the bug.
   1:Start a new sikuli
   2: capture some image using any of the capture image feature
   3: Save sikuli
   4: now Save sikuli agian but this time use Save As
   5: save the file the same name you use to save sikuli
   6: Close Sikuli
   7: launch sikuli and (.bat, shortcut etc.) and open your previous save 
file
   8: notice all image is currupted

  
  4. Any information that might help us to locate the bug.
  When saving the frame title is Open when using save frame title should be 
Save or Save As



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #99024]: Forum for Sikuli?

2011-01-12 Thread Danielo
Question #99024 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/99024

Danielo posted a new comment:
I  think a sikuli forum will be marvelous. Sometimes I feel a bit alone
about sikuli and its scene

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #138772]: [request] Sikuli.org needs a forum

2011-01-12 Thread RaiMan
Question #138772 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/138772

Summary changed to:
[request] Sikuli.org needs a forum

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #141030]: Problem with g++ library version

2011-01-12 Thread RaiMan
Question #141030 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/141030

Linked to bug: #697152
https://bugs.launchpad.net/bugs/697152
java.lang.UnsatisfiedLinkError when launching IDE on linux

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #141139]: Stop Sikuli with Java code

2011-01-12 Thread Dantel D
Question #141139 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/141139

Dantel D posted a new comment:
I create a new Thread, it runs as long as the Script is executed and
dies. But it doesent help to call thread.destroy(). The thread is gone
but the python script doesnt seem to be affected (it just goes on). Or
what do you mean by running the script ? Im conding in Eclipse and the
sikuli scripts are also described in Java (Im not using the SikuliIDE).

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 701423] Re: X 1.0rc1 Windows: similar(1.00) in Pattern Setting dialog: match not shown

2011-01-12 Thread RaiMan
** Summary changed:

- Sikuli X: Windows: similar(1.00) in Pattern Setting dialog: match not shown
+ X 1.0rc1 Windows: similar(1.00) in Pattern Setting dialog: match not shown

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

Title:
  X 1.0rc1 Windows: similar(1.00) in Pattern Setting dialog: match not
  shown

Status in Sikuli:
  New

Bug description:
  description in related question



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 701363] Re: X 1.0rc1 App.open does not support command line options on Windows

2011-01-12 Thread RaiMan
** Summary changed:

- App.open does not support command line options on Windows
+ X 1.0rc1 App.open does not support command line options on Windows

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

Title:
  X 1.0rc1 App.open does not support command line options on Windows

Status in Sikuli:
  New

Bug description:
  Environement
  -
  Windows 7
  Sikuli-X-1.0rc1-win32
  JAVA_HOME = C:\Program Files (x86)\Java\jre6

  
  Trying to do the following does not work, Firefox does not start up.

  App.open(rfirefox -profile C:\testing\FF\SikuliUser)

  Looking at the code (Win32Util.cc) it seems like there is some quoting
  issues when calling CreateProcess

  http://msdn.microsoft.com/en-us/library/ms682425(v=vs.85).aspx



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 701062] Re: X 1.0rc1 Ubuntu 10.10: runs only with locale en_US

2011-01-12 Thread RaiMan
** Summary changed:

- Sikuli X: Ubuntu 10.10: runs only with locale en_US
+ X 1.0rc1 Ubuntu 10.10: runs only with locale en_US

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

Title:
  X 1.0rc1 Ubuntu 10.10: runs only with locale en_US

Status in Sikuli:
  New

Bug description:
  using locale de_DE crashes:

  Error: Illegal min or max specification!
  Fatal error: No error trap defined!
  Signal_termination_handler called with signal 5002



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 700931] Re: X 1.0rc1 strange behavior on exit(), double message

2011-01-12 Thread RaiMan
** Summary changed:

- Sikuli X: strange behavior on exit(), double message 
+ X 1.0rc1 strange behavior on exit(), double message

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

Title:
  X 1.0rc1 strange behavior on exit(), double message

Status in Sikuli:
  Fix Committed

Bug description:
  --- When a script terminates in the IDE (with exit() or without), you
  get double messages:

  [debug] close all ScreenHighlighter
  [debug] close all ScreenHighlighter

  --- using standalone sikuli-script.jar to run a .sikuli (with or without 
exit())
  java -jar sikuli-script.jar test.sikuli

  [debug] close all ScreenHighlighter
  Exception in thread main Traceback (most recent call last):
File string, line 1, in module
File /Users/rhocke/Library/Application 
Support/Sikuli/dist/sikuli-script.jar/Lib/sikuli/Sikuli.py, line 153, in exit
  SystemExit: 0

  missing: [info] Beendet mit 0



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 700281] Re: X 1.0rc1 IDE Preview: produces Pattern().exact().similar(1.00)

2011-01-12 Thread RaiMan
** Summary changed:

- Sikuli X: IDE Preview: produces Pattern().exact().similar(1.00)
+ X 1.0rc1 IDE Preview: produces Pattern().exact().similar(1.00)

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

Title:
  X 1.0rc1 IDE Preview: produces Pattern().exact().similar(1.00)

Status in Sikuli:
  New

Bug description:
  Sure it is not really a problem, but looks ugly ;-)



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 697152] Re: X 1.0rc1 GLIBCXX_3.4.9 not found when launching IDE on linux

2011-01-12 Thread RaiMan
** Summary changed:

- java.lang.UnsatisfiedLinkError when launching IDE on linux
+ X 1.0rc1 GLIBCXX_3.4.9 not found when launching IDE on linux

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

Title:
  X 1.0rc1 GLIBCXX_3.4.9 not found when launching IDE on linux

Status in Sikuli:
  New

Bug description:
  
  Sikuli-X-1.0rc1-linux

  Operating System:
  CentOS 32 bit. Version 5

  1. From CentOS launched the ./sikuli-ide.sh 
  2. Got the below exception.

  [r...@psng970-centos Sikuli-IDE]# ./sikuli-ide.sh
  [info] locale: en_US
  Exception in thread main java.lang.UnsatisfiedLinkError: 
/usr/Sikuli-X-1.0rc1-linux/Sikuli-IDE/libs/libJXGrabKey.so: 
/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by 
/usr/Sikuli-X-1.0rc1-linux/Sikuli-IDE/libs/libJXGrabKey.so)



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #141139]: Stop Sikuli with Java code

2011-01-12 Thread RaiMan
Question #141139 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/141139

RaiMan posted a new comment:
You say:
I create a new Thread, it runs as long as the Script is executed and dies. But 
it doesent help to call thread.destroy(). The thread is gone but the python 
script doesnt seem to be affected (it just goes on).

Does this mean you are dispatching a .sikuli/.skl from that thread? If
you do everything in Java (as you say later: and the sikuli scripts are
also described in Java), then there is no Python layer active. Or do
you use the ScriptRunner? If yes, I guess, this starts another
thread/subprocess, that runs independently.

You might have to implement some I'm alive status connection, that is
watched in the script (inter process communication).

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #141139]: Stop Sikuli with Java code

2011-01-12 Thread RaiMan
Question #141139 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/141139

RaiMan posted a new comment:
Something similar to that?
https://answers.launchpad.net/sikuli/+question/140946

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 697141] Re: X 1.0rc1 find() and exists() with black images not working

2011-01-12 Thread RaiMan
** Summary changed:

- find() and exists() with black images not working
+ X 1.0rc1 find() and exists() with black images not working

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

Title:
  X 1.0rc1 find() and exists() with black images not working

Status in Sikuli:
  New

Bug description:
  Sikuli X
  Whenever I try to use pattern matching methods like find() or exists() with 
screenshots that consists of pixels that are all complete black(#00).
  It seems to always result in finding a match even if there is not a bit of 
black on my screen.



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #141139]: Stop Sikuli with Java code

2011-01-12 Thread Dantel D
Question #141139 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/141139

Dantel D posted a new comment:
I do it as it is described here: http://sikuli.org/docx/faq/java-dev.html . 
So there is no python script running in the background? I thought so because 
the sikuli script just keeps running even after I destroyed the thread.

If theres really just java thats running there might be problems of some other 
kind in my code. Hmmm...
Thank you for your replies.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 696101] Re: sikuli-ide.exe doesn't run in mixed 32/64 bit Java environment

2011-01-12 Thread RaiMan
** Changed in: sikuli
   Status: New = Confirmed

** Summary changed:

- sikuli-ide.exe doesn't run in mixed 32/64 bit Java environment
+ X 1.0rc1 does not run in mixed 32/64 bit Java environment

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

Title:
  X 1.0rc1 does not run in mixed 32/64 bit Java environment

Status in Sikuli:
  Confirmed

Bug description:
  1) Sikuli X 1.0
  2) Windows 7 64-bit
  3) I need to maintain both 32 and 64 bit Java versions on my machine. 
sikuli-ide.bat runs just clicking on it, but sikuli-ide.exe fails to run.



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 696719] Re: Exception is thrown when making screenshot

2011-01-12 Thread RaiMan
** Changed in: sikuli
   Status: New = Invalid

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

Title:
  Exception is thrown when making screenshot

Status in Sikuli:
  Invalid

Bug description:
  Attempt to make screenshot fails.
  Looks like an unsatisfied dependency. My distro has 2.0 versionof the opencv 
only.
  Version: 1.0rc1
  OS: Fedora 13 x86_64(Kernel: 2.6.34.7-61.fc13.x86_64)
  Java: 1.6.0_20

  Log:

  [debug] [Linux] install hotkey: CTRL+SHIFT+2 for onQuickCapture
  [debug] [Linux] install hotkey: ALT+SHIFT+C for onStopRunning
  [debug] capture!
  Exception in thread AWT-EventQueue-0 java.lang.UnsatisfiedLinkError: 
/tmp/tmplib/libVisionProxy.so: libml.so.2.1: cannot open shared object file: No 
such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1803)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1699)
at java.lang.Runtime.load0(Runtime.java:770)
at java.lang.System.load(System.java:1003)
at 
com.wapmx.nativeutils.jniloader.NativeLoader.loadLibrary(NativeLoader.java:44)
at org.sikuli.script.TextRecognizer.clinit(TextRecognizer.java:15)
at org.sikuli.ide.NamingPane.getFilenameFromImage(NamingPane.java:50)
at org.sikuli.ide.CaptureButton.update(CaptureButton.java:141)
at org.sikuli.script.CapturePrompt.notifyObserver(CapturePrompt.java:39)
at 
org.sikuli.script.CapturePrompt$1.mouseReleased(CapturePrompt.java:190)
at java.awt.Component.processMouseEvent(Component.java:6263)
at java.awt.Component.processEvent(Component.java:6028)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Window.processEvent(Window.java:1836)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at 
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at 
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 696720] Re: X 1.0rc1 Linux 64- BitException when trying to load PNG (filename contains blanks)

2011-01-12 Thread RaiMan
** Summary changed:

- Exception when trying to load PNG image
+ X 1.0rc1 Linux 64- BitException when trying to load PNG (filename contains 
blanks)

** Summary changed:

- X 1.0rc1 Linux 64- BitException when trying to load PNG (filename contains 
blanks)
+ X 1.0rc1 Linux 64- Bit: Exception when trying to load PNG (filename contains 
blanks)

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

Title:
  X 1.0rc1 Linux 64- Bit: Exception when trying to load PNG (filename
  contains blanks)

Status in Sikuli:
  New

Bug description:
  Attempt to load PNG file causes an exception.

  Version: 1.0rc1
  OS: Fedora 13 x86_64(Kernel: 2.6.34.7-61.fc13.x86_64)
  Java: 1.6.0_20

  Log:

  load: /home/andy/10-6-2010 4-01-12 PM.png
  Exception in thread AWT-EventQueue-0 java.lang.NullPointerException
at org.sikuli.ide.SikuliPane.getFileInBundle(SikuliPane.java:531)
at org.sikuli.ide.ButtonInsertImage.actionPerformed(SikuliIDE.java:1421)
at 
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at 
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at 
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at 
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at 
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at 
java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6263)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6028)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at 
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at 
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at 
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 694181] Re: text() is not included in the IDE reserve word

2011-01-12 Thread RaiMan
** Changed in: sikuli
   Status: New = Fix Committed

** Changed in: sikuli
Milestone: None = x1.0-rc2

** Summary changed:

- text() is not included in the IDE reserve word
+ X 1.0rc1 text() is not included in the IDE reserve word

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

Title:
  X 1.0rc1 text() is not included in the IDE reserve word

Status in Sikuli:
  Fix Committed

Bug description:
  1. The version of Sikuli you were using.
  X 1.0rc1

  text is not included in the IDE reserve word thus it's not highlighted by the 
IDE.
  General consistency



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 693323] Re: Pattern matching not finding things and finding doubles

2011-01-12 Thread RaiMan
** Changed in: sikuli
   Status: New = In Progress

** Changed in: sikuli
Milestone: None = x1.0-rc2

** Summary changed:

- Pattern matching not finding things and finding doubles
+ 0.10.2 Pattern matching not finding things and finding doubles

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

Title:
  0.10.2 Pattern matching not finding things and finding doubles

Status in Sikuli:
  In Progress

Bug description:
  Sikuli 0.10.2
  64 bit ubuntu

  I've been trying to figure out what's wrong with my sikuli script.  It
  seems to be clicking on the same things twice, and not clicking on
  things sometimes.

  Here is a sample file with test pattern.

  * Click on the pattern image, change number of matches to 100
  * All the Hippos in the middle 64x64 column are the same.
  * If you select the whole hippo, the default 0.7 similarity will match even 
the black hippo shadow, but it won't match the hippos in the middle.
  * If you had only picked the middle of the hippo and not the whole hippo 
(which I usually do cause it can't do transparency), play around with the 
similarity slider, watch the colors.  Sometimes it'll have two matches 
overlapping each other.
  * findAll() doesn't return the same number of matches as in the Match preview 
tab.



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 687559] Re: 0.10.2 --args not working with Sikuli JUnit tests?

2011-01-12 Thread RaiMan
** Summary changed:

- --args not working with Sikuli JUnit tests?
+ 0.10.2 --args not working with Sikuli JUnit tests?

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

Title:
  0.10.2 --args not working with Sikuli JUnit tests?

Status in Sikuli:
  Fix Committed

Bug description:
  I have a working Sikuli JUnit test script, test.py.  In the top indent
  level, I have this code:

  for arg in sys.argv:
  print arg

  If I invoke it like so, it prints all the args:

  sikuli-ide.sh -r test.sikuli/ --args arg1 arg2 arg3

  However, when I try to run it as a JUnit test, I get no printing of
  args:

  sikuli-ide.sh -t test.sikuli/ --args arg1 arg2 arg3

  I even tried inserting the arg-printing code block into my one test
  method, which is invoked by the JUnit framework, and it prints
  nothing, indicating that it sees no args (or empty args).

  Should it be possible to pass args to a JUnit-enabled Sikuli script?
  Am I doing something wrong, or is this a bug?



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 684815] Re: 0.10.2 Delay must be 0 to 60, 000ms

2011-01-12 Thread RaiMan
** Summary changed:

- Delay must be 0 to 60,000ms
+ 0.10.2 Delay must be 0 to 60,000ms

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

Title:
  0.10.2 Delay must be 0 to 60,000ms

Status in Sikuli:
  Fix Committed

Bug description:
  Sikuli 0.10.2
  Windows 7 32-bit

  Periodically I'm getting the error message:

  java.lang.IllegalArgumentException:
  java.lang.IllegalArgumentException: Delay must be to 0 to 60,000ms

  This seems to happen wherever I have an exist(),sleep(),wait(),etc...
  function. This error message seems to be implying that the delay can
  only be up to 1 minute long. There is nowhere in Sikuli's
  documentation that mentions a 1 minute limit and example scripts seem
  to use longer than 1 minute delays. Additionally, this particular
  delay is only 15 seconds. Although I've also gotten in where I've
  tried to wait() for 15 minutes.



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #141139]: Stop Sikuli with Java code

2011-01-12 Thread RaiMan
Question #141139 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/141139

RaiMan posted a new comment:
Just report your solution, if you find any ;-)

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 667568] Re: [request] It could be generated to excutable files(*.exe)

2011-01-12 Thread RaiMan
** Summary changed:

- Suggestion : It could be generated to excutable files(*.exe)   
+ [request] It could be generated to excutable files(*.exe)

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

Title:
  [request] It could be generated to excutable files(*.exe)

Status in Sikuli:
  New

Bug description:
  
  Sikuli Version 0.10.2
  Windows 7 32-bit
  Java 1.6.0_40


  It could be generated to excutable files(*.exe)   not only (.skl) file
  .

  Till now i need to install all program like Sikuli Version 0.10.2 /
  Java 1.6.0_40 to support the excutable (.skl) file , I think this is
  not good to to transplant for end user .



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 681672] Re: [request] delayed capture for pattern settings

2011-01-12 Thread RaiMan
** Summary changed:

- delayed capture for pattern settings
+ [request] delayed capture for pattern settings

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

Title:
  [request] delayed capture for pattern settings

Status in Sikuli:
  New

Bug description:
  I had recorded a few elements of a dropdown using a delay with the
  capture button from IDE. If I want to perform any pattern
  settings(basically to check if the images are matching the particular
  options that I want), then I cannot do so as the dropdown would need
  to be manually expanded before I initialize the pattern settings
  dialog. This is possible only with an addition of a delay during which
  I can expand the dropdown and keep.

  A modifier like Shift+click on the image can cause a delay before a
  screen capture is done for pattern settings dialog. The delay can be
  picked up from the capture delay settings.

  version: 0.10.2
  OS: linux



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 670038] Re: [request] feature to produce match sensitivity values for a group of images

2011-01-12 Thread RaiMan
** Summary changed:

- wishlist: feature to produce match sensitivity values for a group of images
+ [request] feature to produce match sensitivity values for a group of images

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

Title:
  [request] feature to produce match sensitivity values for a group of
  images

Status in Sikuli:
  New

Bug description:
  I find that I often need to manually work with Sikuli's pattern match
  preview/setter feature to differentiate between two very similar
  images, and choose values that eliminate false positives and false
  negatives for each.  This is a common behavior for image pairs like
  the enabled and disabled form of a button, and it can also come into
  play in other situations.  There seems to be no heuristic that works
  all the time, since the actual sensitivity ends up being some
  combination of image size and how similar the two reference images
  really are.

  Sikuli has the necessary tools under the hood to take reference images
  and determine if there exists a match sensitivity for each that will
  uniquely identify one image if both are present, but it would have to
  be coded, and the interface to the new functionality would have to be
  determined.  One deviation from normal Sikuli behavior is that the
  match wouldn't take the current screen into account; it would have to
  either cobble together a fake screenshot consisting of the reference
  images, or do some other trick.

  A sub-wishlist would be a way to tell the IDE, at image capture time,
  that you only want 1 match for the captured image.  The IDE would then
  set the sensitivity for that image such that only one match for the
  newly-captured image is found, in the context of the screen in which
  it was captured.  (Of course, it'd be up to the script writer to
  ensure that this threshold is used consistently in other parts of the
  script.)



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 608736] Re: Num keys not accesible

2011-01-12 Thread RaiMan
** Changed in: sikuli
   Status: Fix Committed = Fix Released

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

Title:
  Num keys not accesible

Status in Sikuli:
  Fix Released

Bug description:
  I can't press the key NUM0, or others!

  Like a Key.DELETE, is not possible press Key.NUM0, and I need it for a
  do what i want.

  Thanks!



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 667565] Re: ShowStopper : Unable to generate a log file after running the sikuli scripts

2011-01-12 Thread RaiMan
** Changed in: sikuli
   Status: New = Invalid

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

Title:
  ShowStopper : Unable to generate a log file after running the sikuli
  scripts

Status in Sikuli:
  Invalid

Bug description:
  Sikuli Version 0.10.2
  Windows 7 32-bit
  Java 1.6.0_40

  
  As a end user , i can run the sikuli wonderfully , but nothing will be left 
after the scripts finished , so if this script unable to generate a log file or 
add debug information , how will i know which part is pass and which part is 
fail  ? This is very important for End Users .

  Maybe this is not a bug , but i think this is a good suggestion , hope
  my report is helpful for you .



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 667561] Re: ShowStopper : PrintScreen hotkey unable to press using Key.PrintScreen function

2011-01-12 Thread RaiMan
** Changed in: sikuli
   Status: Fix Committed = Fix Released

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

Title:
  ShowStopper  : PrintScreen hotkey unable to press using
  Key.PrintScreen function

Status in Sikuli:
  Fix Released

Bug description:
  Sikuli Version 0.10.2
  Windows 7 32-bit
  Java 1.6.0_40

  Scrips below :

  openApp(calc)
  wait(3)
  type(Key.PRNTSCREEN)

  #here i want to make a screen shot to record the current status ,
  actually i want to record every steps i ever run , but this is not
  support .



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 659614] Re: 0.10.2 Windows XP 32bit: zipped version might need java/jre6/bin in path

2011-01-12 Thread RaiMan
** Summary changed:

- Screenshots fail on Windows XP 32bit
+ 0.10.2 Windows XP 32bit: zipped version might need java/jre6/bin in path

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

Title:
  0.10.2 Windows XP 32bit: zipped version might need java/jre6/bin in
  path

Status in Sikuli:
  New

Bug description:
  Version: Sikuli 0.10.2 (zip)
  OS: Windows XP Pro 32 bit   (enterprise deployment)

  Proceedure: 
  Any attempt to take screenshots or set regions using Sikuli, whether by 
hot-key or using the GUI elements fails.

  The screen greys out (as expected).  The cursor becomes a crosshair
  (as expected).

  Clicking the left mouse button and dragging to select a region works
  as expected until the mouse button is released.  The screen remains
  greyed out no matter what I click.  Further clicking shows the
  expected UI responses, but does not leave screenshot mode.

  The only way to escape the screenshot mode is through alt-tab or
  using the task manager.  Using alt-tab results in two Java windows in
  the task bar, one labelled Sikuli and the other without a name...

  I originally installed Sikuli 10.1 on this machine, but the
  installer version has been uninstalled.  I am currently using the
  zip version and using the .bat file to launch it.

  I created the slip-streamed Windows installer used to create the
  install, as well as the install that's deployed on this machine.  If
  additional information would be useful, I should be able to provide
  it.  As I'm not a Java programmer, I didn't want to include a great
  deal of  non-essential data.

    Message Log Output  
  [sikuli] [WIN] install hotkey: CTRL+SHIFT+2 for onQuickCapture
  [sikuli] [WIN] onQuickCapture 1
  [sikuli] [WIN] install hotkey: ALT+SHIFT+C for onStopRunning
  [sikuli] [WIN] onStopRunning 2
  [sikuli] capture!
  Exception in thread AWT-EventQueue-0 java.lang.IllegalArgumentException: 
Invalid display mode
at sun.awt.Win32GraphicsDevice.setDisplayMode(Unknown Source)
at sun.awt.Win32GraphicsDevice.setFullScreenWindow(Unknown Source)
at edu.mit.csail.uid.CapturePrompt.close(CapturePrompt.java:200)
at edu.mit.csail.uid.CaptureButton.update(CaptureButton.java:117)
at edu.mit.csail.uid.CapturePrompt.notifyObserver(CapturePrompt.java:37)
at 
edu.mit.csail.uid.CapturePrompt$1.mouseReleased(CapturePrompt.java:184)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Window.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
  Exception in thread AWT-EventQueue-0 java.lang.IllegalArgumentException: 
Invalid display mode
at sun.awt.Win32GraphicsDevice.setDisplayMode(Unknown Source)
at sun.awt.Win32GraphicsDevice.setFullScreenWindow(Unknown Source)
at edu.mit.csail.uid.CapturePrompt.close(CapturePrompt.java:200)
at edu.mit.csail.uid.CaptureButton.update(CaptureButton.java:117)
at edu.mit.csail.uid.CapturePrompt.notifyObserver(CapturePrompt.java:37)
at 
edu.mit.csail.uid.CapturePrompt$1.mouseReleased(CapturePrompt.java:184)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Window.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at 

[Sikuli-driver] [Bug 656162] Re: [request] match count in pattern settings dialog

2011-01-12 Thread RaiMan
** Summary changed:

- match count in pattern settings dialog
+ [request] match count in pattern settings dialog

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

Title:
  [request] match count in pattern settings dialog

Status in Sikuli:
  New

Bug description:
  1. In addition to the max count of matches to look for in the pattern
  settings dialog, an additional field that shows the actual match that
  was found within that max count would be a good one as the pattern
  settings dialog shows a pretty small image and making out the count is
  not that easy. Some times even the page elements might make it
  difficult to make out the matches shown on screen.

  2. Might also be helpful if we can tag a superscript or subscript
  number that shows along with the matched images to denote the order in
  which they were identified. This can be an option that can be turned
  on and off from the pattern settings dialog itself.



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 652328] Re: Sikuli can't tell when text is grayed out

2011-01-12 Thread RaiMan
** Changed in: sikuli
   Status: New = Confirmed

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

Title:
  Sikuli can't tell when text is grayed out

Status in Sikuli:
  Confirmed

Bug description:
  In Sikuli 0.10.2 on 32-bit Ubuntu 10.04, I'm testing some things in
  the Android emulator, and I've come across two cases where Sikuli
  can't tell the difference between regular text and text that is grayed
  out, whether in a button or plain text on a background.  There is only
  one slider in the IDE for adjusting the match sensitivity, and if I
  make the sensitivity high enough to not get false positives, I end up
  getting false negatives.

  Any ideas how I could get Sikuli to tell these images apart?

  I attached a tar file with all the images involved.



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 634791] Re: [request] Provide code mirror for Windows users

2011-01-12 Thread RaiMan
** Summary changed:

- Provide code mirror for Windows users
+ [request] Provide code mirror for Windows users

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

Title:
  [request] Provide code mirror for Windows users

Status in Sikuli:
  New

Bug description:
  Currently it is impossible to checkout Sikuli code for development on
  Windows due to Bazaar bugs. The solution would be to provide a mirror
  of the code in alternative VCS. For example, Mercurial has bundled
  convert extension that can possibly be used to maintain automatic code
  mirror in HG
  http://mercurial.selenic.com/wiki/ConvertExtension#Converting_from_Bazaar



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 635190] Re: 0.10.2 Ubuntu: Script only clicks in run and show actions mode

2011-01-12 Thread RaiMan
** Summary changed:

- Script only clicks in run and show actions mode
+ 0.10.2 Ubuntu: Script only clicks in run and show actions mode

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

Title:
  0.10.2 Ubuntu: Script only clicks in run and show actions mode

Status in Sikuli:
  New

Bug description:
  #1 Sikuli version 0.10.2
  #2 Ubuntu 10.04, 32 bit using Java 6 1.6.0.20
  #3 Using Sikuli IDE, create a script that runs normally when clicking the 
Run and show actions button. Then, try to click the Run button or run the 
script from the command line. The mouse will move (find works correctly) but 
will fail to click on its target.

  When running from the command line, output will be:
  libdc1394 error: Failed to initialize libdc1394
  ScreenMatchProxy loaded.
  VDictProxy loaded.
  ScreenMatchProxy loaded.
  [sikuli] click on (1496,11), MOD: 0
  [sikuli] locale: en_CA
  [sikuli] no locale for en_CA

  #4 The desktop Sikuli is being run against is a virtual desktop
  provided by a NoMachine NX server, hosted on an OpenVZ (virtualized)
  container



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 639657] Re: [Java] type() text from java with azerty-keyboard

2011-01-12 Thread RaiMan
** Summary changed:

- type text from java, IllegalThreadStateException
+ [Java] type() text from java with azerty-keyboard

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

Title:
  [Java] type() text from java with azerty-keyboard

Status in Sikuli:
  New

Bug description:
  i try to run this program from java:

public static String collect(String ip) throws FindFailed {
Screen s = new Screen();
Win32Util os = new Win32Util();

System.out.println(ready starting first);
s.type(null, 10;0;0;196,1);
System.out.println(ready starting next);

  the output of this is:
  ready starting first
  [sikuli] type 10;0;0;196, mod: Shift(1)
  Exception in thread AWT-EventQueue-0 java.lang.IllegalThreadStateException: 
Cannot call method from the event dispatcher thread
  at java.awt.Robot.checkNotDispatchThread(Robot.java:465)
  at java.awt.Robot.waitForIdle(Robot.java:444)
  at edu.mit.csail.uid.Region.type(Region.java:379)
  at main.SikuliScript.collect(SikuliScript.java:22)
  at main.Main.updateAccessPoints(Main.java:269)
  at main.Main$1.mouseClicked(Main.java:152)
  at 
java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253)
  at java.awt.Component.processMouseEvent(Component.java:6266)
  at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
  at java.awt.Component.processEvent(Component.java:6028)
  at java.awt.Container.processEvent(Container.java:2041)
  at java.awt.Component.dispatchEventImpl(Component.java:4630)
  at java.awt.Container.dispatchEventImpl(Container.java:2099)
  at java.awt.Component.dispatchEvent(Component.java:4460)
  at 
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
  at 
java.awt.LightweightDispatcher.processMouseEvent(Container.java:4247)
  at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
  at java.awt.Container.dispatchEventImpl(Container.java:2085)
  at java.awt.Window.dispatchEventImpl(Window.java:2478)
  at java.awt.Component.dispatchEvent(Component.java:4460)
  at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
  at 
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
  at 
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
  at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
  at 
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
  at 
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
  at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

  what am i doing wrong or is this a bug?

  version of sikuli: 0.10.2
  os: windows 7 32bit
  attention: my os has azerty settings, that why i need to enter the ip to get 
it correctly
  the ip gets typed correctly but crashes right after that



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 630412] Re: 0.10.2 Check Update misleadingly suggest I update to an earlier release

2011-01-12 Thread RaiMan
** Summary changed:

- Check Update misleadingly suggest I update to an earlier release
+ 0.10.2 Check Update misleadingly suggest I update to an earlier release

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

Title:
  0.10.2 Check Update misleadingly suggest I update to an earlier
  release

Status in Sikuli:
  Fix Committed

Bug description:
  I'm using ubuntu 10.04 linux 32 bit executing your 0.10.2

  from your GUI menu

Help - Check Update

  it suggests I update to some earlier release when its popup window
  says

 Sikuli 0.10.1 is released!

  obviously only suggest an update to more recent releases.
  Also - would be nice if your menu Help has the standard option of   About 
which should
  show current release - even though I see curr rel is show on window heading 
bar

  excellent app - well done - cheers Scott Stensland



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 619674] Re: [request] copy paste code snippets across projects including images

2011-01-12 Thread RaiMan
** Summary changed:

- copy paste code snippets across projects including images
+ [request] copy paste code snippets across projects including images

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

Title:
  [request] copy paste code snippets across projects including images

Status in Sikuli:
  New

Bug description:
  While creating large test scripts, its extremely easy to write small
  snippets separately and copy paste the code into the main script. Its
  possible currently with the exception that the images would not get
  copied automatically. If this is also present, it would be extremely
  useful.



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 619253] Re: Nothing matches with exact()

2011-01-12 Thread RaiMan
** Changed in: sikuli
   Status: New = In Progress

** Summary changed:

- Nothing matches with exact()
+ 0.10.2 Nothing matches with exact()

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

Title:
  0.10.2 Nothing matches with exact()

Status in Sikuli:
  In Progress

Bug description:
  Sikuli 0.10.2
  ubuntu x86_64

  I never get a match with exact() no matter what I put in it.

  find(Pattern().exact())

  
  However if I capture the screen to a file and then load up the file in finder 
it works...

  cap=capture(SCREEN)
  with Finder(cap) as fs:
  fs.find(Pattern(...).exact())
  while fs.hasNext():
  print str(fs.next())

  
  I found out what was going on, in OpenCV.java CS_LINEAR_RGB dims the image 
when it's drawn.  If you use CS_sRGB  exact() will match.



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 616975] Re: screen capture fails on Linux with Nvidia TwinView

2011-01-12 Thread RaiMan
** Changed in: sikuli
   Status: New = Confirmed

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

Title:
  screen capture fails on Linux with Nvidia TwinView

Status in Sikuli:
  Confirmed

Bug description:
  Sikuli 0.10.2

  Linux 2.6.32.16-150.fc12.x86_64 #1 SMP
  Fedora 12 x86_64
  jdk1.6.0_21 x86_64

  Hardware:

  NVidia 9600 GT with two displays, configured for TwinView

  To reproduce:
  Type the screen capture hotkey: CTRL+SHIFT+2

  The screen capture process only works on one of the two screens.

  From what I understand, TwinView is not Xinerama but its API is the
  same.

  Workaround:

  Run sikuli in a virtual machine with only one display



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #141157]: How to get a search results page e.g. with google

2011-01-12 Thread RaiMan
Question #141157 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/141157

Summary changed to:
How to get a search results page e.g. with google

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 613747] Re: [request]  IDE: missing copy and paste menu entries

2011-01-12 Thread RaiMan
fixed in Sikuli X

** Summary changed:

- IDE: missing copy and paste menu entries
+ [request] IDE: missing copy and paste menu entries

** Changed in: sikuli
   Status: New = Fix Released

** Changed in: sikuli
Milestone: None = x1.0-rc2

** Changed in: sikuli
Milestone: x1.0-rc2 = None

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

Title:
  [request] IDE: missing copy and paste menu entries

Status in Sikuli:
  Fix Released

Bug description:
  there is no copy and paste menu in the code edit area.so is is very
  unconvenient for coding



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 612852] Re: openApp() does not support chinese characters - use unicode strings

2011-01-12 Thread RaiMan
*** This bug is a duplicate of bug 630920 ***
https://bugs.launchpad.net/bugs/630920

** Summary changed:

- openApp()did not support chinese characters
+ openApp() does not support chinese characters - use unicode strings

** Changed in: sikuli
   Status: New = Confirmed

** This bug has been marked a duplicate of bug 630920
   switchApp() doesn't support double-byte character.
 * You can subscribe to bug 630920 by following this link: 
https://bugs.launchpad.net/sikuli/+bug/630920/+subscribe

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

Title:
  openApp() does not support chinese characters - use unicode strings

Status in Sikuli:
  Confirmed

Bug description:
  when i use the fuction like
  openApp(D:\\Program Files\\Netease\\网易闪电邮\\Start.exe)

  the return value of the openApp() is -1
  I thought it can not start the application if the parameter contains chinese 
characters.

  when i change the sentece to openApp(D:\\Program
  Files\\eMule\\emule.exe),it works well.



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 630920] Re: when I using the switchApp(), it doesn't support double-byte character.

2011-01-12 Thread RaiMan
try to use unicode string usometext

** Summary changed:

- when I using the switchApp(), it doesn't support double-byte character.
+ switchApp() doesn't support double-byte character.

** Changed in: sikuli
   Status: New = Confirmed

** Summary changed:

- switchApp() doesn't support double-byte character.
+ switchApp() doesn't support double-byte character - use unicode strings

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

Title:
  switchApp() doesn't support double-byte character - use unicode
  strings

Status in Sikuli:
  Confirmed

Bug description:
  when I using the switchApp(), it doesn't support double-byte character.
  ==
  switchApp(project sikuli)
  wait(5)
  switchApp(reference-0.10)
  wait(5)
  switchApp(英国)
  wait(5)
  popup(the end)
  ==



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #141157]: How to get a search results page e.g. with google

2011-01-12 Thread RaiMan
Question #141157 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/141157

Status: Open = Answered

RaiMan proposed the following answer:
since Sikuli automates mouse and keyboard actions together with locating
visual objects on the screen, you just have to turn a manual workflow,
you are using into a Sikuli script.

--- example Windows / Firefox
openApp(path to firefox)
wait(5) # give enough time
type(l, KEY_CTRL) # to position in address field
paste(google.com)
wait(image-of-google-logo, 10) # wait for google page
paste(sikuli) # enter search text
type(Key.ENTER)

to find more about the commands: http://sikuli.org/docx/

If you want to have more programmed access to the page contents of a
results page, you have to use the standard Python features to run http
requests and use the results (- Python doc)

You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #113326]: Status of bug #606405 changed to 'Fix Released' in Sikuli

2011-01-12 Thread RaiMan
Bug #606405 status changed in Sikuli:

Fix Committed = Fix Released


https://bugs.launchpad.net/sikuli/+bug/606405
windows multi monitor: screen(0) needs (0,0) as upper left

This bug is linked to #113326.
click() or doubleClick() not working
https://answers.launchpad.net/sikuli/+question/113326

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #117930]: Status of bug #606405 changed to 'Fix Released' in Sikuli

2011-01-12 Thread RaiMan
Bug #606405 status changed in Sikuli:

Fix Committed = Fix Released


https://bugs.launchpad.net/sikuli/+bug/606405
windows multi monitor: screen(0) needs (0,0) as upper left

This bug is linked to #117930.
Click not working for Multi Screen (have workaround :-)
https://answers.launchpad.net/sikuli/+question/117930

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 612434] Re: 0.10.2 find doesn't return the best match

2011-01-12 Thread RaiMan
** Summary changed:

- find doesn't return the best match
+ 0.10.2 find doesn't return the best match

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

Title:
  0.10.2 find doesn't return the best match

Status in Sikuli:
  Fix Committed

Bug description:
  I was trying to find a magnifying glass picture with a minus sign. On the 
screen there is a magnifying glass with a plus sign and another one with a 
minus sign, the correct one matches with a 0.96 score the incorrect one matches 
with a 0.91 score.
  find() sometimes found the correct one and sometimes not.

  In LookaheadTemplateMatcher:next() when something matches 0.9 it
  simply returns the first one found not the best one.  If I comment
  this out, it finds the correct one, but I guess it may slow things
  down.

  I can fix this by using findAll  sorting by score instead, just
  wanted to let you guys know.

  Attached are the pictures I was testing with.



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #141159]: [Java] how to use findAll in Java

2011-01-12 Thread RaiMan
Question #141159 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/141159

Summary changed to:
[Java] how to use findAll in Java

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 614456] Re: [request] option to lock mouse movement+click to prevent user from interrupting

2011-01-12 Thread RaiMan
** Summary changed:

- [Request] option to lock mouse movement+click to prevent user from 
interrupting
+ [request] option to lock mouse movement+click to prevent user from 
interrupting

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

Title:
  [request] option to lock mouse movement+click to prevent user from
  interrupting

Status in Sikuli:
  Triaged

Bug description:
  Hallo. Sikuli is a great project and it is fun working with it but
  there is something that bothers me and I wonder why noone else ever
  asked this question bevore (at least I couldnt find something similar
  over the search function).

  Sikuli works pretty good but there is a big disadvantage making it
  pretty unstable for proper scripts: The mouse doesnt lock up when a
  script is running - so it is possible that the user will move the
  mouse during a critical period causing the whole script to crash. So
  my question is - is there a way to lock up the mouse/keyboard during
  the execution of a script so the user cannot cause trouble by moving
  the mouse or other input?

  If there is no standart for it in Sikuli - any suggestions to solve
  this matter?

  +...@developers It there is no general option for that - would it be
  possible to implement one?



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 610804] Re: 0.10.1 Num lock turned on: KEY_SHIFT and function keys will not work

2011-01-12 Thread RaiMan
** Summary changed:

- When Num lock is turned on, KEY_SHIFT and function keys will not work
+ 0.10.1 Num lock turned on: KEY_SHIFT and function keys will not work

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

Title:
  0.10.1 Num lock turned on: KEY_SHIFT and function keys will not work

Status in Sikuli:
  New

Bug description:
  Machine: Windows Xp/Windows 7
  Sikuli 0.10.1

  When Num lock is turned on, KEY_SHIFT is not working with function
  keys.

  This:
  type(Key.END, KEY_SHIFT)
  will not work.
  keyDown/keyUp neither.



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #141031]: [Java] All the Sikuli Script can be integrated into JAVA programm?

2011-01-12 Thread RaiMan
Question #141031 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/141031

Summary changed to:
[Java] All the Sikuli Script can be integrated into JAVA programm?

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #141004]: Sikuli X 1.0rc1: Windows: with Region: not usable

2011-01-12 Thread RaiMan
Question #141004 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/141004

Linked to bug: #695720
https://bugs.launchpad.net/bugs/695720
X 1.0rc1: with Region: and Region.click() fail when using region 
returned by App().window()

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #136325]: Sikuli on Windows Server machine

2011-01-12 Thread Sunil
Question #136325 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/136325

Sunil posted a new comment:
we solved the issue by installing it on D drive instead of the default C
drive and everything was smooth.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #136325]: Sikuli on Windows Server machine

2011-01-12 Thread RaiMan
Question #136325 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/136325

Status: Expired = Solved

RaiMan changed the question status:
see comment

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 599955] Re: 0.10.1 openApp on Linux foregrounds apps by default

2011-01-12 Thread RaiMan
** Summary changed:

- openApp on Linux foregrounds apps by default
+ 0.10.1 openApp on Linux foregrounds apps by default

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

Title:
  0.10.1 openApp on Linux foregrounds apps by default

Status in Sikuli:
  Fix Committed

Bug description:
  Sikuli 0.10.1, Ubuntu 32-bit 10.04.

  openApp() more or less works on Linux.  However, the default behavior
  seems to be to open the application in the foreground (current
  thread), preventing the rest of the Sikuli script from running.  My
  interpretation of the OSX examples is that openApp() runs apps in the
  background by default, allowing the Sikuli script to continue.  If
  this were not the case, I suspect the OSX examples would have the same
  problems with openApp() blocking as I do on Linux.

  I've been unable to do things like openApp(appname ) so I have made
  a wrapper script that Sikuli will run in the foreground, but the
  wrapper runs the intended app in the background.



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #141170]: onAppear and onVanish APIs on a really fast System

2011-01-12 Thread Sunil
Question #141170 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/141170

Status: Needs information = Open

Sunil gave more information on the question:
Yes, observe() works. Events are getting triggered on few machines.

The machines where it does not work have Dual Core Opteron, 2.39 GHz 4GB
Ram.

Usage is through .skl script.

 internally, there is a scan rate at about 0.3 seconds (which can be
adjusted with Sikuli X (where observe() should not work yet ;-)).

Hmm, probably this answers the issue that we are facing. When can we
expect, nearly 0 second scan rate :-) ?

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 595283] Re: Sikuli IDE Save Operation Overwrites Existing Files Without Warning

2011-01-12 Thread RaiMan
** Changed in: sikuli
   Status: Fix Committed = Fix Released

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

Title:
  Sikuli IDE Save Operation Overwrites Existing Files Without Warning

Status in Sikuli:
  Fix Released

Bug description:
  Sikuli IDE Save Operation Overwrites Existing Files Without Warning

  Sikuli v10.1

  When saving via IDE, Sikuli will overwrite existing files without
  warning.  Allows users to make mistakes and overwrite existing
  projects.

  Basically, I inteneded to click Open, but clicked Save instead.  The
  problem is compounded by the fact that the save dialog is actually
  showing as an open dialog.  So, if you think you clicked open but
  accidentally clicked save, then you won't know it just by paying
  attention to the save dialog because it looks like an open dialog.

  Two Fixes Wanted:
  1. Make the dialog box more descriptive -- Change save dialog so that it 
actually shows save in the dialog title.  Change open button in dialog to 
say save.
  2. Give a warning when saving to an existing project.  Warning, files 
already exist.  Saving will overwrite existing files.  Do you want to continue?

  To reproduce...
  1. Open Sikuli IDE.
  2. Untitled file is already presented to user.
  3. Click File--Save.
  4. Navigate to existing project (navigate to a dummy / throwaway project)
  5. Click Open on dialog.
  6. Poof...files are gone.  :-(
  7. Cry a little on the inside.
  8. Grab your old backup and figure out what has changed since then.
  9. Cry a little more.



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 597525] Re: 0.10.1 exported executable scripts not exiting after running

2011-01-12 Thread RaiMan
** Summary changed:

- exported executable scripts not exiting after running
+ 0.10.1 exported executable scripts not exiting after running

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

Title:
  0.10.1 exported executable scripts not exiting after running

Status in Sikuli:
  Fix Committed

Bug description:
  When running an executable script, a new Sikuli-IDE process is
  started, however when the script finishes running the process is not
  exited. The process is holding onto the memory too, which makes it a
  bigger problem. Running executable scripts one after another soon
  takes up a huge chunk of system memory.

  0.10.1 Tested on:
  WinXP 32-bit- (Continues running as described above)
  Linux Ubuntu 10.04 64-bit - (Exits after script finishes)
  Win7   32-bit - (Exist after script finishes)



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 594529] Re: Screenshot hotkey uses first char of key description instead of key

2011-01-12 Thread RaiMan
** Changed in: sikuli
   Status: Fix Committed = Fix Released

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

Title:
  Screenshot hotkey uses first char of key description instead of key

Status in Sikuli:
  Fix Released

Bug description:
  I'm using a German version of Sikuli 0.10.1 on Win XP 32. Whatever
  hotkey I assign to the screen shots, Sikuli always uses the first
  character of the hotkey description instead of the actual key.
  Example: Alt + S would make a the hotkey, Space results in s
  as a hotkey, and Enter would make Sikuli intercept the e key and
  start a screen shot.



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 584471] Re: 0.10.1 parser error: 'with' will become a reserved keyword in Python 2.6

2011-01-12 Thread RaiMan
** Summary changed:

- parser error: 'with' will become a reserved keyword in Python 2.6
+ 0.10.1 parser error: 'with' will become a reserved keyword in Python 2.6

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

Title:
  0.10.1 parser error: 'with' will become a reserved keyword in Python
  2.6

Status in Sikuli:
  Fix Committed

Bug description:
  The workaround i posted in
  https://bugs.launchpad.net/sikuli/+bug/583085/comments/4 only works as
  long as it is located in the main .py.

  When put into a user module i import using the strategy RaiMan posted
  on 2010-05-19 in
  https://answers.launchpad.net/sikuli/+question/110877:

  path\bugged.sikuli\bugged.py:
  =
  import sys
  sys.path.append(getBundlePath())
  import bug
  =

  it aborts with:

  SyntaxError: ('with' will become a reserved keyword in Python 2.6,
  ('C:\\bugged.sikuli\\bug.py', 13, 1, ''))

  Because of the error i am unable to save it as .skl, so i had to
  attach bug.py on it's own (save as path\bugged.sikuli\bug.py to
  follow example).

  This is with 0.10.1-RC2 from
  https://bugs.launchpad.net/sikuli/+bug/58/comments/9 on 32Bit XP
  Pro SP3



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 583085] Re: findAll on a region returns duplicate matches

2011-01-12 Thread RaiMan
** Changed in: sikuli
   Status: Fix Committed = Fix Released

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

Title:
  findAll on a region returns duplicate matches

Status in Sikuli:
  Fix Released

Bug description:
  Finding all matches of an image inside another match sometimes returns
  duplicate matches (same coordinates, size and score):

  for m in find(img1).findAll(img2):
  print m

  could result in

  Match[498,329 15x15] score=0.96, target=center
  Match[498,246 15x15] score=0.99, target=center
  Match[498,345 15x15] score=0.96, target=center
  Match[498,246 15x15] score=0.99, target=center

  The fourth match is a duplicate of the second one. The problem only
  occurs for certain images, but consistently. I have not seen this
  problem when calling findAll on SCREEN or as a function. The same
  problem occurs when I use hasNext() and next() to iterate over
  matches.

  To reproduce, use the attached Sikuli script:
  1. Open the base image in an image viewer so that Sikuli can see it.
  2. Run the script.
  3. Check the console output in Sikuli. Duplicate matches are prefixed with 
'*'.
  4. Optionally set the variable i to one of the other images and repeat.

  Result: i2 and i5 return a duplicate match, while i1, i3 and i4 don't.

  Expected result: There should be no duplicate matches.

  Sikuli version: 0.10.0
  OS: Windows XP SP3



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #120508]: Status of bug #514616 changed to 'Fix Released' in Sikuli

2011-01-12 Thread RaiMan
Bug #514616 status changed in Sikuli:

Fix Committed = Fix Released


https://bugs.launchpad.net/sikuli/+bug/514616
run unit testing scripts from command line

This bug is linked to #120508.
Using the command line test runner
https://answers.launchpad.net/sikuli/+question/120508

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 514616] Re: run unit testing scripts from command line

2011-01-12 Thread RaiMan
** Changed in: sikuli
   Status: Fix Committed = Fix Released

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

Title:
  run unit testing scripts from command line

Status in Sikuli:
  Fix Released

Bug description:
  unit testing scripts can't be run from command line now.



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #141103]: How to get string of PS into FindFailed exception clause

2011-01-12 Thread Vivek Ayer
Question #141103 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/141103

Status: Answered = Open

Vivek Ayer is still having a problem:
Actually, since I just want the debug output of FindFailed, which
includes the path name of the image it couldn't find, I can just do
this:

try:
   click(PS)
except FindFailed, debugging:
   print debugging

The debugging output is stored in 'debugging', which I can then play
with.

Thanks for the tip!
Vivek

On Tue, Jan 11, 2011 at 11:54 PM, RaiMan
question141...@answers.launchpad.net wrote:
 Your question #141103 on Sikuli changed:
 https://answers.launchpad.net/sikuli/+question/141103

    Status: Open = Answered

 RaiMan proposed the following answer:
 Not a feature in the moment, you should post a [feature request] bug:
 match should know it's pattern.

 Since I hated FindFailed from beginning, I requested exists() ... and
 got it ;-)

 Solution with exists (works with try: except: as well ;-)

 img = Pattern or string
 if exists(img): click(getLastMatch())
 else: print FindFailed:, img; exit(1)

 with exists() you might even go on in your script and take corrective
 actions in case of FindFailed.

 Tip:
 for such simple constructs like

 try:
   click(PS)
 except FindFailed:
   ?? how to get str(PS) here??

 I use to make it more readable:

 try: click(PS)
 except: print error; exit(1)

 --
 If this answers your question, please go to the following page to let us
 know that it is solved:
 https://answers.launchpad.net/sikuli/+question/141103/+confirm?answer_id=0

 If you still need help, you can reply to this email or go to the
 following page to enter your feedback:
 https://answers.launchpad.net/sikuli/+question/141103

 You received this question notification because you are a direct
 subscriber of the question.


-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #141103]: How to get string of PS into FindFailed exception clause

2011-01-12 Thread Vivek Ayer
Question #141103 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/141103

Status: Open = Solved

Vivek Ayer confirmed that the question is solved:
Thanks RaiMan, that solved my question.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #141099]: 100% CPU utilization on Mac

2011-01-12 Thread Temporal Fusion
Question #141099 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/141099

Status: Answered = Solved

Temporal Fusion confirmed that the question is solved:

I think I was causing it by putting inordinate amount of wait times that was 
causing the problem. Confusing seconds with milliseconds.

I'm on 10.6.6 using Sikuli X-1.0rc1

I didn't see the problem after adjusting the wait times. I'll keep an
eye on it and If it continues then I'll post my script or forward it to
you, thank you for your quick reply and suggestions. Much appreciated.

-Michael

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #141210]: can Sikuli run on window server 2003 ?

2011-01-12 Thread joe fu
New question #141210 on Sikuli:
https://answers.launchpad.net/sikuli/+question/141210

when we try to install Sikuli on window server 2003, it says the OS is not 
supported.
can we still use it in window server 2003?

anything we need to do to make it work?

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #141210]: can Sikuli run on window server 2003 ?

2011-01-12 Thread joe fu
Question #141210 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/141210

Status: Needs information = Open

joe fu gave more information on the question:
I see this issue when running any command in the sikuli IDE.
I already have the jre and sikuli libs path set in the Path environment 
variable.
C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\Program 
Files\Microsoft SQL Server\90\Tools\binn\;C:\Program 
Files\Java\jre6\bin\;C:\GUITest\GUITest.sikuli\utils\Sikuli-X\libs\

Traceback (most recent call last):
  File string, line 1, in module
  File 
C:\GUITest\GUITest.sikuli\utils\Sikuli-X\sikuli-script.jar\Lib\sikuli\Sikuli.py,
 line 23, in module
java.lang.UnsatisfiedLinkError: 
C:\GUITest\GUITest.sikuli\utils\Sikuli-X\libs\Win32Util.dll: Can't find 
dependent libraries

at java.lang.ClassLoader$NativeLibrary.load(Native Method)

at java.lang.ClassLoader.loadLibrary0(Unknown Source)

at java.lang.ClassLoader.loadLibrary(Unknown Source)

at java.lang.Runtime.load0(Unknown Source)

at java.lang.System.load(Unknown Source)

at
com.wapmx.nativeutils.jniloader.NativeLoader.loadLibrary(NativeLoader.java:44)

at org.sikuli.script.Win32Util.clinit(Win32Util.java:14)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Unknown Source)

at org.sikuli.script.Env.getOSUtil(Env.java:82)

at org.sikuli.script.App.clinit(App.java:4)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Unknown Source)

at
org.python.core.SyspathJavaLoader.loadClass(SyspathJavaLoader.java:107)

at java.lang.ClassLoader.loadClass(Unknown Source)

at org.python.core.Py.findClassEx(Py.java:817)

at
org.python.core.packagecache.SysPackageManager.findClass(SysPackageManager.java:133)

at
org.python.core.packagecache.PackageManager.findClass(PackageManager.java:28)

at
org.python.core.packagecache.SysPackageManager.findClass(SysPackageManager.java:122)

at
org.python.core.PyJavaPackage.__findattr_ex__(PyJavaPackage.java:137)

at org.python.core.PyObject.__findattr__(PyObject.java:869)

at org.python.core.imp.import_name(imp.java:771)

at org.python.core.imp.importName(imp.java:806)

at
org.python.core.ImportFunction.__call__(__builtin__.java:1232)

at org.python.core.PyObject.__call__(PyObject.java:367)

at org.python.core.__builtin__.__import__(__builtin__.java:1202)

at org.python.core.imp.importFromAs(imp.java:884)

at org.python.core.imp.importFrom(imp.java:860)

at sikuli.Sikuli$py.f$0(C:\GUITest\GUITest.sikuli\utils\Sikuli-X
\sikuli-script.jar\Lib\sikuli\Sikuli.py:183)

at
sikuli.Sikuli$py.call_function(C:\GUITest\GUITest.sikuli\utils\Sikuli-X
\sikuli-script.jar\Lib\sikuli\Sikuli.py)

at org.python.core.PyTableCode.call(PyTableCode.java:165)

at org.python.core.PyCode.call(PyCode.java:18)

at org.python.core.imp.createFromCode(imp.java:326)

at
org.python.core.util.importer.importer_load_module(importer.java:109)

at
org.python.modules.zipimport.zipimporter.zipimporter_load_module(zipimporter.java:161)

at
org.python.modules.zipimport.zipimporter$zipimporter_load_module_exposer.__call__(Unknown
Source)

at
org.python.core.PyBuiltinMethodNarrow.__call__(PyBuiltinMethodNarrow.java:47)

at org.python.core.imp.loadFromLoader(imp.java:451)

at org.python.core.imp.find_module(imp.java:408)

at org.python.core.PyModule.impAttr(PyModule.java:109)

at org.python.core.imp.import_next(imp.java:637)

at org.python.core.imp.import_logic(imp.java:699)

at org.python.core.imp.import_name(imp.java:761)

at org.python.core.imp.importName(imp.java:806)

at
org.python.core.ImportFunction.__call__(__builtin__.java:1232)

at org.python.core.PyObject.__call__(PyObject.java:367)

at org.python.core.__builtin__.__import__(__builtin__.java:1202)

at org.python.core.__builtin__.__import__(__builtin__.java:1185)

at org.python.core.imp.importAll(imp.java:904)

at org.python.pycode._pyx2.f$0(string:1)

at org.python.pycode._pyx2.call_function(string)

at org.python.core.PyTableCode.call(PyTableCode.java:165)

at org.python.core.PyCode.call(PyCode.java:18)

at org.python.core.Py.runCode(Py.java:1204)

at org.python.core.Py.exec(Py.java:1248)

at
org.python.util.PythonInterpreter.exec(PythonInterpreter.java:172)

at
org.sikuli.script.ScriptRunner.runPython(ScriptRunner.java:52)

at
org.sikuli.ide.SikuliIDE$ButtonRun.runPython(SikuliIDE.java:1262)

at org.sikuli.ide.SikuliIDE$ButtonRun$1.run(SikuliIDE.java:1367)


java.lang.UnsatisfiedLinkError: java.lang.UnsatisfiedLinkError: 
C:\GUITest\GUITest.sikuli\utils\Sikuli-X\libs\Win32Util.dll: 

Re: [Sikuli-driver] [Question #140743]: Sikuli X fails to execute scripts via NetBeans, Eclipse or Jython using sikuli-script.jar

2011-01-12 Thread surfdork
Question #140743 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/140743

Status: Answered = Open

surfdork is still having a problem:
Still fails.  What is the working recipie?

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #140743]: Sikuli X fails to execute scripts via NetBeans, Eclipse or Jython using sikuli-script.jar

2011-01-12 Thread RaiMan
Question #140743 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/140743

Status: Open = Needs information

RaiMan requested for more information:
What is happening?

What is your configuration?

I have it running with Netbeans or plain Jython or plain java only using
sikuli-script.jar and the native libs that come with the distribution on
Mac OS X 10.6 and Windows 7.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 702155] [NEW] Sikuli can't import subprocess, all scripts using subprocess are broken

2011-01-12 Thread surfdork
Public bug reported:

The following code worked perfectly in Sikuli 10, within the IDE and in
Netbeans on all Windows operating systems.  Now it fails globally.  Any
code invoking subprocess fails on all windows operating systems, repeat
ALL Windows operating systems.  This failure occurs on user systems
where the .jar files are not changed, unpacked nor run from NetBeans.

import glob
import os
import subprocess

setShowActions(True)
dirname = Z:\BUILDS\Daily_BUILDS\QA_MainBranch_Install\*.install
setBundlePath(C:\\SikuliTest\\ImageLibrary\\96dpi\\SignIn\\)
filespec = setup.exe
instlpath = glob.glob (os.path.join (dirname, filespec))
subprocess.call (instlpath[0] + ' /S /z ')
if exists(SignIn_Launch.png, 300):
popup(Install Successful)
exit() 

Error:
[debug] close all ScreenHighlighter
[info] Stopped
[info] An error occurs at line 3
[info] Error message:
Traceback (most recent call last):
  File 
C:\Users\MIKEAD~1.OVE\AppData\Local\Temp\sikuli-tmp6953702407610701410.py, 
line 3, in module
import subprocess
  File C:\Program Files (x86)\Sikuli X\sikuli-script.jar\Lib\subprocess.py, 
line 642, in module
  File C:\Program Files (x86)\Sikuli X\sikuli-script.jar\Lib\subprocess.py, 
line 640, in _setup_platform
  File C:\Program Files (x86)\Sikuli X\sikuli-script.jar\Lib\warnings.py, 
line 56, in warn
  File C:\Program Files (x86)\Sikuli X\sikuli-script.jar\Lib\warnings.py, 
line 56, in warn
IndexError: index out of range: 0

** 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/702155

Title:
  Sikuli can't import subprocess, all scripts using subprocess are
  broken

Status in Sikuli:
  New

Bug description:
  The following code worked perfectly in Sikuli 10, within the IDE and
  in Netbeans on all Windows operating systems.  Now it fails globally.
  Any code invoking subprocess fails on all windows operating systems,
  repeat ALL Windows operating systems.  This failure occurs on user
  systems where the .jar files are not changed, unpacked nor run from
  NetBeans.

  import glob
  import os
  import subprocess

  setShowActions(True)
  dirname = Z:\BUILDS\Daily_BUILDS\QA_MainBranch_Install\*.install
  setBundlePath(C:\\SikuliTest\\ImageLibrary\\96dpi\\SignIn\\)
  filespec = setup.exe
  instlpath = glob.glob (os.path.join (dirname, filespec))
  subprocess.call (instlpath[0] + ' /S /z ')
  if exists(SignIn_Launch.png, 300):
  popup(Install Successful)
  exit() 

  Error:
  [debug] close all ScreenHighlighter
  [info] Stopped
  [info] An error occurs at line 3
  [info] Error message:
  Traceback (most recent call last):
File 
C:\Users\MIKEAD~1.OVE\AppData\Local\Temp\sikuli-tmp6953702407610701410.py, 
line 3, in module
  import subprocess
File C:\Program Files (x86)\Sikuli X\sikuli-script.jar\Lib\subprocess.py, 
line 642, in module
File C:\Program Files (x86)\Sikuli X\sikuli-script.jar\Lib\subprocess.py, 
line 640, in _setup_platform
File C:\Program Files (x86)\Sikuli X\sikuli-script.jar\Lib\warnings.py, 
line 56, in warn
File C:\Program Files (x86)\Sikuli X\sikuli-script.jar\Lib\warnings.py, 
line 56, in warn
  IndexError: index out of range: 0



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


  1   2   >