Re: [Sikuli-driver] [Question #267725]: How to change findAll WaitTimeout individually

2015-06-08 Thread RaiMan
Question #267725 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267725

Status: Open = Answered

RaiMan proposed the following answer:
At time of creation of a new region, this region takes the standard wait
time currently stored with Settings.AutoWaitTimeout.

For an existing region, you can use Region.setAutoWaitTimeout() to
adjust the value for this region.

In scripting, when using the whole screen with just
findAll(img)

instead of a specified region like
someRegion.findAll()

just use 
setAutoWaitTimeout() to adjust the screens value, but be aware: this is used 
for ALL subsequent find ops until changed again.

BTW: this is all in the docs.

-- 
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 #267878]: how to focus on to pop up window

2015-06-08 Thread fahad
New question #267878 on Sikuli:
https://answers.launchpad.net/sikuli/+question/267878

guys i am facing a problem .My script is using sikuli API for image based 
automation .My problem is i click a button A then a pop up appears then i 
want to click an image B sikuli gets coordinates of B correctly but when it 
calls click there is null pointer exception shown . I know what is problem but 
i don't know its solution.Script is not able to click because current focus of 
sikuli is on previous screen containing button A so it say null pointer 
exception .Any one knows how to switch focus to active screen ?
 FS Cordinates of Image are X=671
Y679 button was fount as log says but it haven't clicked it 
in Java Implementation : 

Error LOG is : 
project already ExsistsSLF4J: Failed to load class 
org.slf4j.impl.StaticLoggerBinder.
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further 
details.

*
 FS Cordinates of Image are X=671
Y679
*


-- 
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 #267878]: how to focus on to pop up window

2015-06-08 Thread RaiMan
Question #267878 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267878

Status: Open = Answered

RaiMan proposed the following answer:
seems not to be the SikuliX we are talking about here:
http://sikulix.com

-- 
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 #267878]: how to focus on to pop up window

2015-06-08 Thread fahad
Question #267878 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267878

Status: Solved = Open

fahad is still having a problem:
sorry marked it solved by mistake

-- 
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 #267878]: how to focus on to pop up window

2015-06-08 Thread fahad
Question #267878 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267878

Status: Answered = Solved

fahad confirmed that the question is solved:
no its not sikuliX

-- 
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 #267878]: how to focus on to pop up window

2015-06-08 Thread RaiMan
Question #267878 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267878

Status: Open = Invalid

RaiMan changed the question status:
Sorry, then you cannot get help here.
You have to go to the product page.

-- 
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 #267859]: Rewind code

2015-06-08 Thread RaiMan
Question #267859 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267859

Status: Open = Answered

RaiMan proposed the following answer:
SikuliX script talks Python language.

In your case you either have to use
- try: .. except: to catch exceptions
- if...:... else:... 
- while:... for...:...

to script alternative or repetitive code depending on some conditions.

if not exists(someImage):
# do something
else:
# do something else

try:
find(someImage)
# do something
except FindFailed:
# do something else

-- 
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 #267835]: How to wait for a duplicated Image (Img already in screen, wait for a duplicated Img)

2015-06-08 Thread RaiMan
Question #267835 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267835

Status: Needs information = Answered

RaiMan proposed the following answer:
first use exists(image, 0), to check for the existence (with a
restricted search area this costs some 10 millisecs).

If found then do your findAll().

So there is no need to fiddle around with waittime with findAll (see
your other 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 #267878]: how to focus on to pop up window

2015-06-08 Thread fahad
Question #267878 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267878

fahad posted a new comment:
yeah i solved problem my self thanks for your time :-) 
cheers

-- 
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 #267768]: IDE needs to be able to rerun the last line

2015-06-08 Thread RaiMan
Question #267768 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267768

Status: Open = Answered

RaiMan proposed the following answer:
at 1)
see docs: 
http://sikulix-2014.readthedocs.org/en/latest/scripting.html#importing-other-sikuli-scripts-reuse-code-and-images
No need to restart the IDE, when imported scripts are changed.

at 2)
If you want to skip parts of your code on rerun, then you should simply 
organize it like this for example:

- steps run sequentially:

startWith = 0

if startwith  1:
# run code for step 0

if startwith  2:
# run code for step 1

if startwith  3:
# run code for step 2

…. and so on

so on rerun you decide to skip steps 0 and 1, you simply have to change the line
startWith = 2

There are many other possibilities to organize your code into steps and 
modules/functions.
Another option is to use the unit test feature.

No need to fiddle around with comment/uncomment.

For debugging purposes the SikuliX IDE is not useable anyway. If you
need that, you have to use an IDE like Eclipse with plugin PyDev.

-- 
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 #267878]: how to focus on to pop up window

2015-06-08 Thread fahad
Question #267878 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267878

fahad posted a new comment:
can you please tell me the link ?

-- 
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 1462935] Re: [1.1.0] Jython: Only recognise two monitors

2015-06-08 Thread Tangy
When I run

JScreen.showMonitors()

I get no output in the IDE. Only at the command line:

[debug] FileManager: tempfile create:
C:\Users\akr\AppData\Local\Temp\Sikulix_1072751614\sikuli-9064582352015424481.py

[debug] Jython: requested to use as default region: R[0,0 1920x1200]@S(0)
[debug] JythonScriptRunner: runPython: running script from IDE:
Unbenannt.sikuli
*** monitor configuration [ 3 Screen(s)] ***
*** Primary is Screen 0
Screen 0: S(0)[0,0 1920x1200]
Screen 1: S(1)[-3200,176 1280x1024]
Screen 2: S(2)[-3200,176 1280x1024]
*** end monitor configuration ***
[debug] Sikulix: cleanUp: 0

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

Title:
  [1.1.0] Jython: Only recognise two monitors

Status in Sikuli:
  New

Bug description:
  I have three monitors at windows 7 pro, 64 bit. I use Sikuli 1.1.0 
(sikulixsetup-1.1.0-20150607.230955-97-forsetup.jar). The middle monitor is 
monitor 1 with a resolution 1920x1200. The left monitor is monitor 2 with a 
resolution 1280x1024. The right monitor is monitor 3 with a resolution 
1920x1200.
  I run this code:

  Screen(0).highlight(3) // right monitor no. 3 highlighted
  Screen(1).highlight(3) // left monitor no. 2 highlighted
  Screen(2).highlight(3) // left monitor no. 2 highlighted

  When the code run, first the right monitor no. 3 get highlighted, than
  the left monitor no. 2 get highlighted and finally the left monitor
  no. 2 get highlighted again. The middle monitor no. 1 never get
  highlighted.

  I get following messages:

  [log] highlight S(0)[0,0 1920x1200] E:Y, T:3,0 for 3.0 secs
  [log] highlight S(1)[-3200,176 1280x1024] E:Y, T:3,0 for 3.0 secs
  [log] highlight S(2)[-3200,176 1280x1024] E:Y, T:3,0 for 3.0 secs

  For the left and the middle monitor I get negativ coordinates.

  Anyway there are problems to recognise images. I run following single
  line code for each montior:

  click( )

  On the right monitor no. 3 Sikuli regonise the images.

  On the middle monitor no. 2 I get an error:
  [error] script [ Unbenannt ] stopped with error in line 1
  [error] FindFailed ( can not find 1433753739736.png in R[0,0 1920x1200]@S(0) )

  On the left monitor no. 2 I get an error:
  [error] script [ Unbenannt ] stopped with error in line 1
  [error] FindFailed ( can not find 1433753576223.png in R[0,0 1920x1200]@S(0) )

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

___
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 1462935] Re: [1.1.0] Jython: Only recognise two monitors

2015-06-08 Thread RaiMan
Sorry, just found the problem - will be fixed with tomorrows build.

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

** Changed in: sikuli
   Importance: Undecided = Critical

** Changed in: sikuli
 Assignee: (unassigned) = RaiMan (raimund-hocke)

** Changed in: sikuli
Milestone: None = 1.1.0

** Summary changed:

- [1.1.0] Jython: Only recognise two monitors
+ [1.1.0] Jython: Only recognise two monitors  --- fixed 2015-06-09+

** Summary changed:

- [1.1.0] Jython: Only recognise two monitors  --- fixed 2015-06-09+
+ [1.1.0] Only recognise two monitors  --- fixed 2015-06-09+

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

Title:
  [1.1.0] Only recognise two monitors  --- fixed 2015-06-09+

Status in Sikuli:
  Fix Committed

Bug description:
  I have three monitors at windows 7 pro, 64 bit. I use Sikuli 1.1.0 
(sikulixsetup-1.1.0-20150607.230955-97-forsetup.jar). The middle monitor is 
monitor 1 with a resolution 1920x1200. The left monitor is monitor 2 with a 
resolution 1280x1024. The right monitor is monitor 3 with a resolution 
1920x1200.
  I run this code:

  Screen(0).highlight(3) // right monitor no. 3 highlighted
  Screen(1).highlight(3) // left monitor no. 2 highlighted
  Screen(2).highlight(3) // left monitor no. 2 highlighted

  When the code run, first the right monitor no. 3 get highlighted, than
  the left monitor no. 2 get highlighted and finally the left monitor
  no. 2 get highlighted again. The middle monitor no. 1 never get
  highlighted.

  I get following messages:

  [log] highlight S(0)[0,0 1920x1200] E:Y, T:3,0 for 3.0 secs
  [log] highlight S(1)[-3200,176 1280x1024] E:Y, T:3,0 for 3.0 secs
  [log] highlight S(2)[-3200,176 1280x1024] E:Y, T:3,0 for 3.0 secs

  For the left and the middle monitor I get negativ coordinates.

  Anyway there are problems to recognise images. I run following single
  line code for each montior:

  click( )

  On the right monitor no. 3 Sikuli regonise the images.

  On the middle monitor no. 2 I get an error:
  [error] script [ Unbenannt ] stopped with error in line 1
  [error] FindFailed ( can not find 1433753739736.png in R[0,0 1920x1200]@S(0) )

  On the left monitor no. 2 I get an error:
  [error] script [ Unbenannt ] stopped with error in line 1
  [error] FindFailed ( can not find 1433753576223.png in R[0,0 1920x1200]@S(0) )

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

___
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 1462935] Re: [1.1.0] Jython: Only recognise two monitors

2015-06-08 Thread RaiMan
thanks (the option -c lets all output go to command line).

further towards the beginning of the debug output there should be a line 
starting 
[debug] Screen: initScreens: ….

pls. post theses lines also. thanks.

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

Title:
  [1.1.0] Only recognise two monitors  --- fixed 2015-06-09+

Status in Sikuli:
  Fix Committed

Bug description:
  I have three monitors at windows 7 pro, 64 bit. I use Sikuli 1.1.0 
(sikulixsetup-1.1.0-20150607.230955-97-forsetup.jar). The middle monitor is 
monitor 1 with a resolution 1920x1200. The left monitor is monitor 2 with a 
resolution 1280x1024. The right monitor is monitor 3 with a resolution 
1920x1200.
  I run this code:

  Screen(0).highlight(3) // right monitor no. 3 highlighted
  Screen(1).highlight(3) // left monitor no. 2 highlighted
  Screen(2).highlight(3) // left monitor no. 2 highlighted

  When the code run, first the right monitor no. 3 get highlighted, than
  the left monitor no. 2 get highlighted and finally the left monitor
  no. 2 get highlighted again. The middle monitor no. 1 never get
  highlighted.

  I get following messages:

  [log] highlight S(0)[0,0 1920x1200] E:Y, T:3,0 for 3.0 secs
  [log] highlight S(1)[-3200,176 1280x1024] E:Y, T:3,0 for 3.0 secs
  [log] highlight S(2)[-3200,176 1280x1024] E:Y, T:3,0 for 3.0 secs

  For the left and the middle monitor I get negativ coordinates.

  Anyway there are problems to recognise images. I run following single
  line code for each montior:

  click( )

  On the right monitor no. 3 Sikuli regonise the images.

  On the middle monitor no. 2 I get an error:
  [error] script [ Unbenannt ] stopped with error in line 1
  [error] FindFailed ( can not find 1433753739736.png in R[0,0 1920x1200]@S(0) )

  On the left monitor no. 2 I get an error:
  [error] script [ Unbenannt ] stopped with error in line 1
  [error] FindFailed ( can not find 1433753576223.png in R[0,0 1920x1200]@S(0) )

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

___
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 1459131] Re: [1.0.1] multiMonitors jython dont find/click/... in screen --- fixed in 1.1.0

2015-06-08 Thread RaiMan
@ SL5:
see bug 1462935

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

Title:
  [1.0.1] multiMonitors jython dont find/click/... in screen --- fixed
  in 1.1.0

Status in Sikuli:
  Fix Committed

Bug description:
  update: works with sikulix-1.1.0-20150524.231037-84 (update at
  15-05-27_09-56)

  hi all :) hug :)

  i work with 4 monitors with different resulutions.
  all works in java not in Jython.

  may is should try beta version is available: SikuliX-1.0.1 ?
  is use Sikuli 1.0.1

  highlight() draw red border for each monitor correct but shows only
  the default monitor inside.

  n = getNumberScreens()
  for ScreenId in range(n):
     reg.highlight(4) #  red frame around for seconds

  i tested with one image.
  my image was not found and clicked at monitor 1,2,3, was found only monitor 1.

  the java version works for me but the Jython version not. i would use
  the Jython version for webinar.

  some additional informations:

  ('- ScreenId = ', 0)
  ('reg: x, y, w, h = ', 0, 0, 1600, 900)
  ('reg: x, y, w, h = ', 0, 0, 1600, 900)
  [log] highlight S(0)[0,0 1600x900] E:Y, T:3,0 for 4.0 secs

  ('- ScreenId = ', 1)
  ('reg: x, y, w, h = ', 320, -720, 1280, 720)
  ('reg: x, y, w, h = ', 320, -720, 1280, 720)
  [log] highlight S(1)[320,-720 1280x720] E:Y, T:3,0 for 4.0 secs

  ('- ScreenId = ', 2)
  ('reg: x, y, w, h = ', 1600, -1080, 1920, 1080)
  ('reg: x, y, w, h = ', 1600, -1080, 1920, 1080)
  [log] highlight S(2)[1600,-1080 1920x1080] E:Y, T:3,0 for 4.0 secs

  ('- ScreenId = ', 3)
  ('reg: x, y, w, h = ', 1600, 0, 1366, 768)
  ('reg: x, y, w, h = ', 1600, 0, 1366, 768)
  [log] highlight S(3)[1600,0 1366x768] E:Y, T:3,0 for 4.0 secs

  print (Env.getSikuliVersion() )
  n = getNumberScreens()
  for ScreenId in range(n):
  print(- ScreenId = , ScreenId)
  reg = Screen(ScreenId)
  print(reg: x, y, w, h = , reg.x , reg.y, reg.w, reg.h)
  x = reg.x
  y = reg.y
  topLeft = Location(x, y) # equivalent to
  topLeft = reg.getTopLeft()
  botRight = reg.getBottomRight()
  h = botRight.y - y
  w = botRight.x - x

  #reg.h = theWidth # equivalent to
  #reg.setH(h)
  #print( x, y, w, h = , x, y, w , h)
  reg.setH(h)
  reg.setY(y)
  #print()
  print(reg: x, y, w, h = , reg.x , reg.y, reg.w, reg.h)
  #reg.setAsScreen()
     # if ScreenId != 1:
  #continue
  reg.highlight(4) # dud red frame around for seconds
  #reg.hover(3)

     # reg.selectRegion(middle of region)

  # SCREEN = reg
  #Screen(0).setROI(reg)
  # setROI(reg)
  #mouse = new DesktopMouse()
     # reg.setAutoWaitTimeout(10)

  if reg.exists(1432671701727.png):
  print(found at ScreenId =  , ScreenId)
  reg.hover(1432671701727.png)
  sleep(1000)

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

___
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 1462935] Re: [1.1.0] Only recognise two monitors --- fixed 2015-06-09+

2015-06-08 Thread Tangy
Here is the output. I think first time I made a mistake because now I
get more output.


C:\Users\akr\Documents\sikuli_1.1runsikulix.cmd -d 3 -c
+++ running this Java
java version 1.7.0_71
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)
+++ trying to run SikuliX
+++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar
C:\Users\akr\Documents\sikuli_1.1\sikulix.jar -d 3 -c
[debug] RunTimeINIT: loadOptions: check: C:\Users\akr\Documents\sikuli_1.1
[debug] RunTimeINIT: loadOptions: check: C:\Users\akr
[debug] RunTimeINIT: loadOptions: check: C:\Users\akr\AppData\Roaming\Sikulix\Si
kulixStore
[debug] RunTimeINIT: global init: entering as: IDE
[debug] RunTimeINIT: ScreenDevice 2 has (0,0) --- will be primary Screen(0)
[debug] RunTimeINIT: fSxBase: C:\Users\akr\Documents\sikuli_1.1
[debug] RunTimeINIT: runs as sikulix.jar in: C:\Users\akr\Documents\sikuli_1.1
[debug] RunTimeINIT: exists libs folder at: C:\Users\akr\AppData\Roaming\Sikulix
\SikulixLibs_201506020100
[debug] RunTimeINIT: addToWindowsSystemPath: added to systempath:
C:\Users\akr\AppData\Roaming\Sikulix\SikulixLibs_201506020100
[debug] RunTimeINIT: checkJavaUsrPath: added to ClassLoader.usrPaths
* show environment for IDE (build 201506020100)
user.home: C:\Users\akr
user.dir (work dir): C:\Users\akr\Documents\sikuli_1.1
user.name: akr
java.io.tmpdir: C:\Users\akr\AppData\Local\Temp
running 64Bit on Windows (6.1) from a jar
java 7-64 version 1.7.0_71-b14 vm 24.71-b01 class 51.0 arch amd64
app data folder: C:\Users\akr\AppData\Roaming\Sikulix
libs folder: C:\Users\akr\AppData\Roaming\Sikulix\SikulixLibs_201506020100
executing jar: C:\Users\akr\Documents\sikuli_1.1\sikulix.jar
*** classpath dump sikulix
  0: /C:/Users/akr/Documents/sikuli_1.1/sikulix.jar
*** classpath dump end
* show environment end
[debug] RunTimeIDE: global init: leaving
[debug] RunTimeIDE: initIDEbefore: entering
[debug] RunTimeIDE: initIDEbefore: leaving
[debug] init user preferences
[debug] IDE: running with Locale: de_DE
[debug] --- Sikuli parameters ---
[debug] 1: -d
[debug] 2: 3
[debug] 3: -c
[info] HotkeyManager: add Capture Hotkey: STRG+UMSCHALT 2 (50, 3)
[debug] HotkeyManager: add Capture Hotkey: STRG+UMSCHALT 2 (50, 3)
[info] HotkeyManager: add Abort Hotkey: ALT+UMSCHALT C (67, 9)
[debug] HotkeyManager: add Abort Hotkey: ALT+UMSCHALT C (67, 9)
[debug] ScriptingSupport: initScriptingSupport: enter
[debug] JythonSupport: init: starting
[debug] JythonSupport: init: success
[debug] JythonSupport: * Jython sys.path
 0: C:\Users\akr\Documents\sikuli_1.1\Lib
 1: C:\Users\akr\Documents\sikuli_1.1\sikulix.jar\Lib
 2: __classpath__
 3: __pyclasspath__/
[debug] JythonSupport: * Jython sys.path end
[debug] Jython: sikuli: Sikuli: starting init
[debug] RunTimeIDE: loadLib: VisionProxy.dll
[debug] Mouse: init
[debug] KeyBoard: init
[debug] Screen: initScreens: multi monitor mouse check
[debug] Screen: *** checking: S(0)[0,0 1920x1200] center: (960, 600) --- OK
[debug] Screen: *** checking: S(1)[-3200,176 1280x1024] center: (-2560, 688) ---
 OK
[debug] Screen: *** checking: S(2)[-3200,176 1280x1024] center: (-2560, 688) ---
 OK
[debug] RunTimeIDE: loadLib: WinUtil.dll
[debug] Jython: requested to use as default region: R[0,0 1920x1200]@S(0)
[debug] Jython: sikuli: Sikuli: ending init
[debug] JythonScriptRunner: running Jython 2.7.0
[debug] ScriptingSupport: initScriptingSupport: added: jython
[debug] ScriptingSupport: initScriptingSupport: warning: org.sikuli.scriptrunner
.IScriptRunner: Provider org.sikuli.scriptrunner.JRubyScriptRunner could not be
instantiated
[debug] ScriptingSupport: initScriptingSupport: exit with defaultrunner: jython
(py)
[debug] IDE: Adding components to window
[debug] [I18N] menuRecent
[debug] IDE: creating tabbed editor
[debug] IDE: creating message area
[debug] IDE: creating combined work window
[debug] IDE: Putting all together
[debug] IDE: doNew: create new tab at: -1
[debug] EditorPane: EditorPane: creating new pane (constructor)
[debug] FileManager: createTempDir:
C:\Users\akr\AppData\Local\Temp\Sikulix_934789338\tmp-2128001831.sikuli
[debug] ImagePath: new BundlePath:
/C:/Users/akr/AppData/Local/Temp/Sikulix_934789338/tmp-2128001831.sikuli/
[debug] EditorPane: initBeforeLoad: null
[debug] EditorPane: updateDocumentListeners from: initBeforeLoad
[debug] EditorPane: InitTab: (text/python)
[info] IDE startup:  6,1 seconds
[debug] IDE startup:  6,1 seconds

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

Title:
  [1.1.0] Only recognise two monitors  --- fixed 2015-06-09+

Status in Sikuli:
  Fix Committed

Bug description:
  I have three monitors at windows 7 pro, 64 bit. I use Sikuli 1.1.0 
(sikulixsetup-1.1.0-20150607.230955-97-forsetup.jar). The middle monitor is 
monitor 1 with a resolution 1920x1200. The left monitor is monitor 2 with a 

Re: [Sikuli-driver] [Question #267878]: how to focus on to pop up window

2015-06-08 Thread RaiMan
Question #267878 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267878

RaiMan posted a new comment:
where did you get it from?

this one?
 https://code.google.com/p/sikuli-api/

-- 
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 1462935] [NEW] Only recognise two monitors

2015-06-08 Thread Tangy
Public bug reported:

I have three monitors at windows 7 pro, 64 bit. I use Sikuli 1.1.0 
(sikulixsetup-1.1.0-20150607.230955-97-forsetup.jar). The middle monitor is 
monitor 1 with a resolution 1920x1200. The left monitor is monitor 2 with a 
resolution 1280x1024. The right monitor is monitor 3 with a resolution 
1920x1200.
I run this code:

Screen(0).highlight(3) // right monitor no. 3 highlighted
Screen(1).highlight(3) // left monitor no. 2 highlighted
Screen(2).highlight(3) // left monitor no. 2 highlighted

When the code run, first the right monitor no. 3 get highlighted, than
the left monitor no. 2 get highlighted and finally the left monitor no.
2 get highlighted again. The middle monitor no. 1 never get highlighted.

I get following messages:

[log] highlight S(0)[0,0 1920x1200] E:Y, T:3,0 for 3.0 secs
[log] highlight S(1)[-3200,176 1280x1024] E:Y, T:3,0 for 3.0 secs
[log] highlight S(2)[-3200,176 1280x1024] E:Y, T:3,0 for 3.0 secs

For the left and the middle monitor I get negativ coordinates.

Anyway there are problems to recognise images. I run following single
line code for each montior:

click( )

On the right monitor no. 3 Sikuli regonise the images.

On the middle monitor no. 2 I get an error:
[error] script [ Unbenannt ] stopped with error in line 1
[error] FindFailed ( can not find 1433753739736.png in R[0,0 1920x1200]@S(0) )

On the left monitor no. 2 I get an error:
[error] script [ Unbenannt ] stopped with error in line 1
[error] FindFailed ( can not find 1433753576223.png in R[0,0 1920x1200]@S(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/1462935

Title:
  Only recognise two monitors

Status in Sikuli:
  New

Bug description:
  I have three monitors at windows 7 pro, 64 bit. I use Sikuli 1.1.0 
(sikulixsetup-1.1.0-20150607.230955-97-forsetup.jar). The middle monitor is 
monitor 1 with a resolution 1920x1200. The left monitor is monitor 2 with a 
resolution 1280x1024. The right monitor is monitor 3 with a resolution 
1920x1200.
  I run this code:

  Screen(0).highlight(3) // right monitor no. 3 highlighted
  Screen(1).highlight(3) // left monitor no. 2 highlighted
  Screen(2).highlight(3) // left monitor no. 2 highlighted

  When the code run, first the right monitor no. 3 get highlighted, than
  the left monitor no. 2 get highlighted and finally the left monitor
  no. 2 get highlighted again. The middle monitor no. 1 never get
  highlighted.

  I get following messages:

  [log] highlight S(0)[0,0 1920x1200] E:Y, T:3,0 for 3.0 secs
  [log] highlight S(1)[-3200,176 1280x1024] E:Y, T:3,0 for 3.0 secs
  [log] highlight S(2)[-3200,176 1280x1024] E:Y, T:3,0 for 3.0 secs

  For the left and the middle monitor I get negativ coordinates.

  Anyway there are problems to recognise images. I run following single
  line code for each montior:

  click( )

  On the right monitor no. 3 Sikuli regonise the images.

  On the middle monitor no. 2 I get an error:
  [error] script [ Unbenannt ] stopped with error in line 1
  [error] FindFailed ( can not find 1433753739736.png in R[0,0 1920x1200]@S(0) )

  On the left monitor no. 2 I get an error:
  [error] script [ Unbenannt ] stopped with error in line 1
  [error] FindFailed ( can not find 1433753576223.png in R[0,0 1920x1200]@S(0) )

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

___
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 1462935] Re: [1.1.0] Jython: Only recognise two monitors

2015-06-08 Thread RaiMan
Seems to be a problem when running Jython scripts from IDE.

could you please start the IDE from command line using
runsikulix.cmd -d 3 -c

and then in the IDE run the command:
JScreen.showMonitors()

... and paste the output here. Thanks.

** Summary changed:

- Only recognise two monitors
+ [1.1.0] Jython: Only recognise two monitors

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

Title:
  [1.1.0] Jython: Only recognise two monitors

Status in Sikuli:
  New

Bug description:
  I have three monitors at windows 7 pro, 64 bit. I use Sikuli 1.1.0 
(sikulixsetup-1.1.0-20150607.230955-97-forsetup.jar). The middle monitor is 
monitor 1 with a resolution 1920x1200. The left monitor is monitor 2 with a 
resolution 1280x1024. The right monitor is monitor 3 with a resolution 
1920x1200.
  I run this code:

  Screen(0).highlight(3) // right monitor no. 3 highlighted
  Screen(1).highlight(3) // left monitor no. 2 highlighted
  Screen(2).highlight(3) // left monitor no. 2 highlighted

  When the code run, first the right monitor no. 3 get highlighted, than
  the left monitor no. 2 get highlighted and finally the left monitor
  no. 2 get highlighted again. The middle monitor no. 1 never get
  highlighted.

  I get following messages:

  [log] highlight S(0)[0,0 1920x1200] E:Y, T:3,0 for 3.0 secs
  [log] highlight S(1)[-3200,176 1280x1024] E:Y, T:3,0 for 3.0 secs
  [log] highlight S(2)[-3200,176 1280x1024] E:Y, T:3,0 for 3.0 secs

  For the left and the middle monitor I get negativ coordinates.

  Anyway there are problems to recognise images. I run following single
  line code for each montior:

  click( )

  On the right monitor no. 3 Sikuli regonise the images.

  On the middle monitor no. 2 I get an error:
  [error] script [ Unbenannt ] stopped with error in line 1
  [error] FindFailed ( can not find 1433753739736.png in R[0,0 1920x1200]@S(0) )

  On the left monitor no. 2 I get an error:
  [error] script [ Unbenannt ] stopped with error in line 1
  [error] FindFailed ( can not find 1433753576223.png in R[0,0 1920x1200]@S(0) )

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

___
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 1462935] Re: [1.1.0] Only recognise two monitors --- fixed 2015-06-09+

2015-06-08 Thread Tangy
I saw your last post late. Thanks for the fast fix.

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

Title:
  [1.1.0] Only recognise two monitors  --- fixed 2015-06-09+

Status in Sikuli:
  Fix Committed

Bug description:
  I have three monitors at windows 7 pro, 64 bit. I use Sikuli 1.1.0 
(sikulixsetup-1.1.0-20150607.230955-97-forsetup.jar). The middle monitor is 
monitor 1 with a resolution 1920x1200. The left monitor is monitor 2 with a 
resolution 1280x1024. The right monitor is monitor 3 with a resolution 
1920x1200.
  I run this code:

  Screen(0).highlight(3) // right monitor no. 3 highlighted
  Screen(1).highlight(3) // left monitor no. 2 highlighted
  Screen(2).highlight(3) // left monitor no. 2 highlighted

  When the code run, first the right monitor no. 3 get highlighted, than
  the left monitor no. 2 get highlighted and finally the left monitor
  no. 2 get highlighted again. The middle monitor no. 1 never get
  highlighted.

  I get following messages:

  [log] highlight S(0)[0,0 1920x1200] E:Y, T:3,0 for 3.0 secs
  [log] highlight S(1)[-3200,176 1280x1024] E:Y, T:3,0 for 3.0 secs
  [log] highlight S(2)[-3200,176 1280x1024] E:Y, T:3,0 for 3.0 secs

  For the left and the middle monitor I get negativ coordinates.

  Anyway there are problems to recognise images. I run following single
  line code for each montior:

  click( )

  On the right monitor no. 3 Sikuli regonise the images.

  On the middle monitor no. 2 I get an error:
  [error] script [ Unbenannt ] stopped with error in line 1
  [error] FindFailed ( can not find 1433753739736.png in R[0,0 1920x1200]@S(0) )

  On the left monitor no. 2 I get an error:
  [error] script [ Unbenannt ] stopped with error in line 1
  [error] FindFailed ( can not find 1433753576223.png in R[0,0 1920x1200]@S(0) )

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

___
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 #267898]: Sikuli doesn't read the special characters as exactly present in the screen. with Mac..

2015-06-08 Thread dinesh
New question #267898 on Sikuli:
https://answers.launchpad.net/sikuli/+question/267898

Sikuli doesn't read the  characters as exactly present in the screen. with Mac 
OSX.

In my test, When I am trying to read some alphanumeric characters as well as 
some special characters it prints some junk value to it.

My Test are
(i)Normal alphanumeric characters : GlobalproductdisplayName1223

In this instance it is read as GlobalproducldisplayName1223 ( in this text 't' 
from the product is read as 'l').

(ii) AccentedCharacters:TestÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑ5032

In this instance, it is read as TestMMAAxE(;lm9N5o32l which is completely 
different...

(iii) Some instance it prints some additional characters at the end.

Can some one help us with this issue in reading text  with accented/swedish 
chracters or special characters.

-- 
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 #267898]: Sikuli doesn't read the special characters as exactly present in the screen. with Mac..

2015-06-08 Thread dinesh
Question #267898 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267898

Description changed to:
Sikuli doesn't read the  characters as exactly present in the screen.
with Mac OSX.

In my test, When I am trying to read some alphanumeric characters,
special characters it prints some junk values.

My Test are as follows

(i)With normal alphanumeric characters : GlobalproductdisplayName1223

In this instance it is read as GlobalproducldisplayName1223 ( in this
text 't' from the product is read as 'l').

(ii) AccentedCharacters:TestÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑ5032

In this instance, it is read as TestMMAAxE(;lm9N5o32l which is
completely different.

(iii) Some instance sikuli prints some odd additional characters at the
end.

Can some one help me with this issue in reading text  with
accented/sweedish characters or special characters.

-- 
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 #266528]: app.focus() not working after window title change (Windows 8.1)?

2015-06-08 Thread Geoff Bache
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528

Geoff Bache posted a new comment:
As this seems to have stopped, I wonder if you could send me the actual
command/API call you use to focus a given window? That might allow me to
debug why it's not working for me without needing to build everything,
single-step etc.

-- 
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 #266528]: app.focus() not working after window title change (Windows 8.1)?

2015-06-08 Thread RaiMan
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528

Status: Open = Answered

RaiMan proposed the following answer:
sorry for the delay - had some private priorities - and still have.

Tomorrow's build will have a few changes.

Later I will give you the link to the test script I use currently

-- 
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 #267898]: Sikuli doesn't read the special characters as exactly present in the screen. with Mac..

2015-06-08 Thread RaiMan
Question #267898 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267898

Status: Open = Answered

RaiMan proposed the following answer:
this has nothing to do with Mac, it is simply there still weak implementation 
of the Tesseract package in Region.text().
It only works with the eng language pack, which is installed at setup.

There are some questions and bugs related to the OCR feature.
If you dive into that and the Tesseract options, then you might find a solution 
with a language pack, that contains these accented characters.

But currently you have to take the text feature as it is. Improvements
will only come later this year with version 2.

-- 
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 #267905]: Can't make PyCharm run sikuli scripts

2015-06-08 Thread Zeks
New question #267905 on Sikuli:
https://answers.launchpad.net/sikuli/+question/267905

I can't make PyCharm see sikuli environment for some reason.

sikuli 1.1 070615 nightly build 
jython 2.7
windows 7 64 bit
Pycharm 4.5.1

Project run settings:
http://s14.postimg.org/lcbh62wyp/08_06_2015_19_17_34.png

I've set CLASSPATH as per screenshot and added sikuli jar as Add content root 
in project settings.
Still I only get the error
 RunTimeINIT:  *** terminating: no valid Java context for SikuliX available 
(java.security.CodeSource.getLocation() is null)


what can this be?

-- 
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 #267835]: How to wait for a duplicated Image (Img already in screen, wait for a duplicated Img)

2015-06-08 Thread eduardobedoya
Question #267835 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267835

Status: Answered = Solved

eduardobedoya 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