Re: [Sikuli-driver] [Question #664439]: In Sikuli how to enter Ctrl+A, Ctrl+T keys in Eclipse Java

2018-02-15 Thread jerome
Question #664439 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664439

jerome posted a new comment:
Only Java Programming with Sikuli

-- 
You received this question notification because your team Sikuli Drivers
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 #664458]: Sikuli modules affected by malware

2018-02-15 Thread Arito Shimazaki
New question #664458 on Sikuli:
https://answers.launchpad.net/sikuli/+question/664458

Today I got report from Windows Defender. Does anyone have similar issue?
The malware found is "Trojan:Win32/Skeeyah.H".

Here I have logs from Windows Defender.
containerfile: C:\Documents and 
Settings\MyName\AppData\Roaming\Sikulix\SikulixDownloads\jython-standalone-2.7.1.jar
containerfile: C:\Documents and Settings\MyName\Application 
Data\Sikulix\SikulixDownloads\jython-standalone-2.7.1.jar
containerfile: C:\tools\sikulix111\sikulix.jar
containerfile: C:\tools\sikulix112n\sikulix.jar
file: C:\Documents and 
Settings\MyName\AppData\Roaming\Sikulix\SikulixDownloads\jython-standalone-2.7.1.jar->org/python/jsr223/ScriptEngineTest.class
file: C:\Documents and Settings\MyName\Application 
Data\Sikulix\SikulixDownloads\jython-standalone-2.7.1.jar->org/python/jsr223/ScriptEngineTest.class
file: C:\tools\sikulix111\sikulix.jar->org/python/jsr223/ScriptEngineTest.class
file: C:\tools\sikulix112n\sikulix.jar->org/python/jsr223/ScriptEngineTest.class
 
My environment:
Windows 10 64bit
Sikuli version 1.1.1 & 1.1.2
Have Python 3.6.4 installed.


-- 
You received this question notification because your team Sikuli Drivers
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 #664446]: Similar Function App.waitVanish('someapp')

2018-02-15 Thread yop
Question #664446 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664446

Status: Answered => Open

yop is still having a problem:
Thanks for your reply RaiMan.
You mean that "App.waitVanish('someapp', FOREVER)" would work?

-- 
You received this question notification because your team Sikuli Drivers
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 #664446]: Similar Function App.waitVanish('someapp')

2018-02-15 Thread RaiMan
Question #664446 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664446

Status: Open => Answered

RaiMan proposed the following answer:
already checked the observe feature?

-- 
You received this question notification because your team Sikuli Drivers
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 #664446]: Similar Function App.waitVanish('someapp')

2018-02-15 Thread yop
New question #664446 on Sikuli:
https://answers.launchpad.net/sikuli/+question/664446

Hello,

I am looking for a function like  :
waitVanish("image.png", FOREVER)
but for a process or an application .so llike this :-) :
App.waitVanish('someapp', FOREVER)

have you any idea for that function ?
Thanks for your feedback
Regards



-- 
You received this question notification because your team Sikuli Drivers
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 #664345]: CPU usage going through the roof when running script

2018-02-15 Thread RaiMan
Question #664345 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664345

RaiMan proposed the following answer:
with my coding suggestion from comment #12 it should click the last
match in reg1, which in turn remembers the given target offset.

For the reason behind my suggestion see comment #7

-- 
You received this question notification because your team Sikuli Drivers
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 #664345]: CPU usage going through the roof when running script

2018-02-15 Thread David Bachschmid
Question #664345 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664345

David Bachschmid posted a new comment:
Ok ty, now I understand why the error occured. Still when I do not
include a picture within "click(picture.png)", sikuli will only click on
the center of the region in which it was searching for a specific image.
Anyways it works really fine by now, thanks to you. :)

-- 
You received this question notification because your team Sikuli Drivers
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 #664438]: Sikuli script fails when run on projector screen or on multiple desktops

2018-02-15 Thread RaiMan
Question #664438 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664438

Status: Needs information => Answered

RaiMan proposed the following answer:
at 1:
FindFailed: FindFailed: 1516200019285.png: (107x28) in S(0)[0,0 1920x1080] E:Y, 
T:3,0
not found on Screen 0, primary monitor.
which is the constant Object  SCREEN in your case.
If the image is on one of the other screens in that moment, it will not be 
found.

at 2:
test cases usually are executed in alphabetical order.

BTW: you should not name anything sikuli - might lead to name clashes

be sure to use at least SikuliX 1.1.1 and have read across the docs:
http://sikulix-2014.readthedocs.io/en/latest/index.html

-- 
You received this question notification because your team Sikuli Drivers
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 #664439]: In Sikuli how to enter Ctrl+A, Ctrl+T keys in Eclipse Java

2018-02-15 Thread RaiMan
Question #664439 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664439

RaiMan requested more information:
Python scripts or Java Programming?

-- 
You received this question notification because your team Sikuli Drivers
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 #664438]: Sikuli script fails when run on projector screen or on multiple desktops

2018-02-15 Thread Vishal singh
Question #664438 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664438

Vishal singh posted a new comment:
1.  ft1.1: Traceback (most recent call last):
  File "C:\Tools\td5_gui_automation\Sikuli 
scripts\ImportProject.sikuli\ImportProject.py", line 35, in 
test_importButtonOnToolbar
wait("1516200019285.png", 5)
  File "C:\Tools\td5_gui_automation\Sikuli 
scripts\ImportProject.sikuli\ImportProject.py", line 35, in 
test_importButtonOnToolbar
wait("1516200019285.png", 5)
  File "C:\Tools\td5_gui_automation\SikuliX\sikulix.jar\Lib\sikuli\Sikuli.py", 
line 65, in wait
return SCREEN.wait(target, timeout)
FindFailed: FindFailed: 1516200019285.png: (107x28) in S(0)[0,0 1920x1080] E:Y, 
T:3,0
  Line 2759, in file Region.java

I can see the image. The mouse goes half way to the screen and then
stops and the scripts exits

2. Test cases not executed means 
 As shown in the sample scripts it executes test case 1 and then it 
executes test case 4 and generates the reports for test case 2 and 3 it shows 
find failed error (same as above) in the reports


No i am not aware of the multi monitor setup and usages 
Can you please send me the link ?

-- 
You received this question notification because your team Sikuli Drivers
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 #664439]: In Sikuli how to enter Ctrl+A, Ctrl+T keys in Eclipse Java

2018-02-15 Thread jerome
Question #664439 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664439

jerome posted a new comment:
Wow Thanks Raiman...Its working fine ...can i have any links or doc for
working sikuli in eclipse

-- 
You received this question notification because your team Sikuli Drivers
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 #664438]: Sikuli script fails when run on projector screen or on multiple desktops

2018-02-15 Thread RaiMan
Question #664438 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664438

Status: Open => Needs information

RaiMan requested more information:
not concrete enough.

1. ... the script failed due to an error
what error?

... testcases "not executed"?
what does that mean? errors? failures?

Are you aware of the multi-monitor setup and usages.
see docs.

-- 
You received this question notification because your team Sikuli Drivers
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 #664439]: In Sikuli how to enter Ctrl+A, Ctrl+T keys in Eclipse Java

2018-02-15 Thread RaiMan
Question #664439 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664439

Status: Open => Answered

RaiMan proposed the following answer:
Ctrl+T, Ctrl+T , Ctrl+E

is it? 
Ctrl+t, Ctrl+t , Ctrl+e

if yes,
s.type("e", KeyModifier.CTRL);

because:
s.type("E", KeyModifier.CTRL);

is 
CTRL+SHIFT+e

-- 
You received this question notification because your team Sikuli Drivers
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 #664439]: In Sikuli how to enter Ctrl+A, Ctrl+T keys in Eclipse Java

2018-02-15 Thread jerome
Question #664439 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664439

Description changed to:
Ctrl+T, Ctrl+T , Ctrl+E.not working...Plz assist me in this.

Code:

package sikulipak;

import org.sikuli.script.FindFailed;
import org.sikuli.script.Key;
import org.sikuli.script.KeyModifier;
import org.sikuli.script.Screen;

public class Project1 {

public static void main(String[] args) {
// TODO Auto-generated method stub
Screen s = new Screen();
try {
s.click("img/1518691627055.png");
s.type("E", KeyModifier.CTRL);
s.type("A", KeyModifier.CTRL);
s.type("Internet Explorer" + Key.ENTER);
s.click("img/1518698297208.png");
s.type(Key.ENTER);


} catch (FindFailed e) {
// TODO Auto-generated catch block
e.printStackTrace();

}

}

-- 
You received this question notification because your team Sikuli Drivers
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 #664439]: In Sikuli how to enter Ctrl+A, Ctrl+T keys in Eclipse Java

2018-02-15 Thread jerome
New question #664439 on Sikuli:
https://answers.launchpad.net/sikuli/+question/664439

Ctrl+T, Ctrl+T , Ctrl+E.not working...Plz assist me in this.

Code:

package sikulipak;

import org.sikuli.script.FindFailed;
import org.sikuli.script.Key;
import org.sikuli.script.KeyModifier;
import org.sikuli.script.Screen;

public class Project1 {

public static void main(String[] args) {
// TODO Auto-generated method stub
Screen s = new Screen();
try {
s.click("img/1518691627055.png");
s.type("E", KeyModifier.CTRL);  
 ||Not Working
s.type("A", KeyModifier.CTRL); 
// s.type(Key.WIN);
s.type("Internet Explorer" + Key.ENTER);
s.click("img/1518698297208.png");
s.type(Key.ENTER);

} 
 catch (FindFailed e) {
// TODO Auto-generated catch block
e.printStackTrace();

}

}


-- 
You received this question notification because your team Sikuli Drivers
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 #664438]: Sikuli script fails when run on projector screen or on multiple desktops

2018-02-15 Thread Vishal singh
New question #664438 on Sikuli:
https://answers.launchpad.net/sikuli/+question/664438

Hi
I was researching about automation tool for GUI testing and i found sikuli
So i investigated about sikuli and found that it can be very useful  for my 
application for creating automation scripts

I installed sikuli and wrote some test scripts performing GUI tests on our 
applications just to show my team how sikuli works and that we can further 
develop scripts in sikuli

I wrote my script when my laptop was connected to a docking station and i had 
two desktops

The problem i faced
1.  When i ran the scripts on my laptop connected to projector the script 
failed due to an error
2.  When i ran my scripts again this time only on laptop only two test case was 
executed infact i had four test cases i dont why
3.  When again i connected my laptop to docking station only two test cases 
were executed it seems it skips the test cases in the middle and run only the 
first and the last one 

Can someone please help me out with this i need to give presentation to my team 
again by fixing this issues

Example Script

Class sikuli():
   def setUp(): 
pass
   def tearDown():
pass
   def test_1():
pass
   def test_2():
pass
   def test_3():
pass
   def test_4():
pass


-- 
You received this question notification because your team Sikuli Drivers
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 #664345]: CPU usage going through the roof when running script

2018-02-15 Thread RaiMan
Question #664345 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664345

Status: Open => Answered

RaiMan proposed the following answer:
see comment #7

--- Also in these specific lines is a relatively high Target Offset included.
... does not matter for the search, since only applied to the match

reg1 = Region(2804,219,332,161) 
if reg1.exists(Pattern("hero.png").targetOffset(-202,247), 0.1): 
reg1.click() # clicks what was found with exists() before

your solution
if 
Region(2804,219,332,161).exists(Pattern("hero.png").targetOffset(-202,247), 
0.1): Region(2804,219,332,161).click(Pattern("hero.png").targetOffset(-202,247))

leads to another search with the click, and apparently the image is no
longer visible (FindFailed)

-- 
You received this question notification because your team Sikuli Drivers
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 1749262] Re: [1.1.2] Java9: IDE: Warnings illegal reflective access operation

2018-02-15 Thread RaiMan
Thanks. Confirmed: see the bug.

> Am 14.02.2018 um 20:45 schrieb George Shields :
> 
> WINDOW 10 with SikuliX IDE :
> java 9.0.4
> Java(TM) SE Runtime Environment (build 9.0.4+11)
> Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)
> 
> Microsoft Windows [Version 10.0.16299.248]
> 
> +++ running this Java
> java version "9.0.4"
> Java(TM) SE Runtime Environment (build 9.0.4+11)
> Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)
> +++ trying to run SikuliX
> +++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine
> -jar E:\p-tools\sikulix\sikulix.jar
> [error] RunTimeINIT: * BE AWARE: Running on Java 9 - Please report
> problems *
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by org.sikuli.script.RunTime
> (file:/E:/p-tools/sikulix/sikulix.jar) to field
> java.lang.ClassLoader.usr_paths
> WARNING: Please consider reporting this to the maintainers of
> org.sikuli.script.RunTime
> WARNING: Use --illegal-access=warn to enable warnings of further illegal
> reflective access operations
> WARNING: All illegal access operations will be denied in a future release
> 
> On Wed, Feb 14, 2018 at 9:42 AM, G Shields  wrote:
> 
>> further details on  Environment:
>> java version "9.0.4"
>> Java(TM) SE Runtime Environment (build 9.0.4+11)
>> Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)
>> 
>> System Version:macOS 10.13.3 (17D47)
>> Kernel Version:Darwin 17.4.0
>> iMac (Retina 5K, 27-inch, Late 2015)
>> 4 GHz Intel Core i7
>> 32 GB 1867 MHz DDR3
>> AMD Radeon R9 M390 2 GB
>> 
>> running  SikuliX IDE with jython
>> 
>> WARNING: An illegal reflective access operation has occurred
>> WARNING: Illegal reflective access by org.python.core.PySystemState
>> (file:/Applications/SikuliX.app/Contents/Java/sikulix.jar) to method
>> java.io.Console.encoding()
>> WARNING: Please consider reporting this to the maintainers of
>> org.python.core.PySystemState
>> WARNING: Use --illegal-access=warn to enable warnings of further illegal
>> reflective access operations
>> WARNING: All illegal access operations will be denied in a future release
>> 
>> with jruby
>> ..
>> WARNING: Illegal reflective access by 
>> org.sikuli.ide.CloseableModernTabbedPaneUI
>> (file:/Users/georgeshields/pasco-software/p-tools/
>> sikulix/SikuliX.app/Contents/Java/sikulix.jar) to constructor
>> javax.swing.plaf.basic.BasicTabbedPaneUI$Actions(java.lang.String)
>> WARNING: Please consider reporting this to the maintainers of
>> org.sikuli.ide.CloseableModernTabbedPaneUI
>> WARNING: Use --illegal-access=warn to enable warnings of further illegal
>> reflective access operations
>> 
>> On Wed, Feb 14, 2018 at 8:41 AM, G Shields  wrote:
>> 
>>> The newest OS X High Sierra operating system with the latest Java 9
>>> 
>>> On Feb 14, 2018 8:41 AM, "RaiMan"  wrote:
>>> 
 I just tried to reproduce the problem - no success.
 
 -- 1.
 running SikuliX: ./SikuliX.app/Contents/Java/sikulix.jar
 does not work for me.
 
 --2. running this:
 java -jar SikuliX.app/Contents/Java/sikulix.jar
 
 I get:
 [error] RunTimeINIT: * BE AWARE: Running on Java 9 - Please report
 problems *
 [info] HotkeyManager: add Capture Hotkey: ⌘+⇧ 2 (50, 5)
 [info] HotkeyManager: add Abort Hotkey: ⌘+⇧ C (67, 5)
 WARNING: An illegal reflective access operation has occurred
 WARNING: Illegal reflective access by org.python.core.PySystemState
 (file:/Users/raimundhocke/Library/Application%20Support/Siku
 lix/SikulixSetup/SikuliX.app/Contents/Java/sikulix.jar) to method
 java.io.Console.encoding()
 WARNING: Please consider reporting this to the maintainers of
 org.python.core.PySystemState
 WARNING: Use --illegal-access=warn to enable warnings of further illegal
 reflective access operations
 WARNING: All illegal access operations will be denied in a future release
 
 ... which is the known Jython problem.
 
 --conclusion:
 please report your environment and what exactly you did.
 
 I am testing on macOS 10.13.3 with Java JDK 9.0.1 either from within
 IntelliJ IDEA or from command line (Terminal)
 
 --
 You received this bug notification because you are subscribed to the bug
 report.
 https://bugs.launchpad.net/bugs/1749262
 
 Title:
  [1.1.2] Java9: IDE: illegal access operation in
  org.sikuli.ide.CloseableModernTabbedPaneUI
 
 Status in Sikuli:
  Opinion
 
 Bug description:
  running SikuliX: ./SikuliX.app/Contents/Java/sikulix.jar
  [error] RunTimeINIT: * BE AWARE: Running on Java 9 - Please report
 problems *
  [info] HotkeyManager: add Capture Hotkey: ⌘+⇧ 2 (50, 5)
  [info] HotkeyManager: add Abort Hotkey: ⌘+⇧ C (67, 5)
  WARNING: An illegal reflective access operation has occurred
  WARNING: Illegal reflective acces

Re: [Sikuli-driver] [Question #664345]: CPU usage going through the roof when running script

2018-02-15 Thread David Bachschmid
Question #664345 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664345

Status: Solved => Open

David Bachschmid is still having a problem:
Since I added a timeout to the exists commands, I've received this error
three times:

[error] script [ sdfsdf ] stopped with error at line --unknown--
[error] Error caused by: Traceback (most recent call last): File 
"F:\Sikuli\sdfsdf.sikuli\sdfsdf.py", line 15, in  if 
Region(2804,219,332,161).exists(Pattern("hero.png").targetOffset(-202,247), 
0.1): 
Region(2804,219,332,161).click(Pattern("hero.png").targetOffset(-202,247)) Line 
2759, in file Region.java 
at org.sikuli.script.Region.wait(Region.java:2759)
at org.sikuli.script.Region.find(Region.java:2336)
at org.sikuli.script.Region.getLocationFromTarget(Region.java:3213)
at org.python.proxies.sikuli.Region$Region$3.getLocationFromTarget(Unknown 
Source)
at org.sikuli.script.Region.click(Region.java:3698)
at org.sikuli.script.Region.click(Region.java:3683)
at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
org.sikuli.script.FindFailed: FindFailed: hero.png: (121x38) seen at (2967, 
301) with 0,97 in R[2804,219 332x161]@S(1) E:Y, T:3,0 Line 2759, in file 
Region.java 


Here's an extract from my script: 

while running:
if Region(3092,648,385,133).exists(Pattern("Fight.png").exact(), 0.5): 
Region(3092,648,385,133).click("Fight.png")
if Region(3168,686,370,215).exists(Pattern("Dungeon.png").similar(0.85), 
0.5): Region(3168,686,370,215).click(Pattern("Dungeon.png").similar(0.85))
if 
Region(2804,219,332,161).exists(Pattern("hero.png").targetOffset(-97,251), 
1.5): Region(2804,219,332,161).click(Pattern("hero.png").targetOffset(-97,251))
if Region(3314,757,205,167).exists("skip.png", 0.5): 
Region(3314,757,205,167).doubleClick("skip.png")
if 
Region(2804,219,332,161).exists(Pattern("hero.png").targetOffset(-202,247), 
0.1): Region(2804,219,332,161).click(Pattern("hero.png").targetOffset(-202,247))

The error always occurs in the "hero.png" line. Also in these specific
lines is a relatively high Target Offset included.

-- 
You received this question notification because your team Sikuli Drivers
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