Re: [Sikuli-driver] [Question #685340]: Virtual machine

2019-10-24 Thread Margarita Rosa De Alba Avendaño
Question #685340 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/685340

Margarita Rosa De Alba Avendaño posted a new comment:
Hi!! Sabir,

Thanks for response

but it works even if theres no conexion between my computer and the VM?
or i have to connect the VM in a physical machine?

-- 
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 1849674] Re: Citrix issue

2019-10-24 Thread RaiMan
sorry, but I do not accept bugs for such special environments.

** Changed in: sikuli
   Status: New => Invalid

** Changed in: sikuli
   Status: Invalid => New

** Changed in: sikuli
   Status: New => Invalid

** Converted to question:
   https://answers.launchpad.net/sikuli/+question/685394

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

Title:
  Citrix issue

Status in Sikuli:
  Invalid

Bug description:
  I'm actually working on a citrix app, when i'm trying to use some
  keyboards inputs, it does not work.

  Example :
  type(Key.ENTER) #does not work
  type("\n") #does not work

  I also tryed this : but it does not work either
  keyDown(Key.ENTER) 
  wait(0.5)
  keyUp(Key.ENTER)  

  How can I fix it?

  type("Some text") #Works

  Note that all works in a local app (ie: notepad)
  Thank you.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1849674/+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


Re: [Sikuli-driver] [Question #685394]: Citrix issue

2019-10-24 Thread RaiMan
Question #685394 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/685394

Status: Open => Answered

RaiMan proposed the following answer:
You have to find out, wether Java AWT Robot actions (internally used by
SikuliX) are restricted against a Citrix window.

Does click() work?

Try to run from a administrator command line.

-- 
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 #685394]: Citrix issue

2019-10-24 Thread RaiMan
Question #685394 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/685394

RaiMan posted a new comment:
sorry, but I do not accept bugs for such special environments.

-- 
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 #685394]: Citrix issue

2019-10-24 Thread filleton
New question #685394 on Sikuli:
https://answers.launchpad.net/sikuli/+question/685394

I'm actually working on a citrix app, when i'm trying to use some keyboards 
inputs, it does not work.

Example :
type(Key.ENTER) #does not work
type("\n") #does not work

I also tryed this : but it does not work either
keyDown(Key.ENTER) 
wait(0.5)
keyUp(Key.ENTER)  

How can I fix it?

type("Some text") #Works

Note that all works in a local app (ie: notepad)
Thank 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 #685378]: Sikulix 2 is logging only highlight

2019-10-24 Thread RaiMan
Question #685378 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/685378

Status: Open => Answered

RaiMan proposed the following answer:
Using sikulixapi.jar in a Java project: these are the defaults after startup in 
org.sikuli.basics.Settings:
  public static boolean ActionLogs = true;
  public static boolean InfoLogs = true;
  public static boolean DebugLogs = false;
  public static boolean ProfileLogs = false;
  public static boolean TraceLogs = false;
  public static boolean LogTime = false;

  public static boolean UserLogs = true;
  public static String UserLogPrefix = "user";
  public static boolean UserLogTime = true;

 -Dsikuli.Debug=3 currently does not do anything in your situation.

So only  Settings.LogTime = true; would be needed in this case.

if you want to see the SikuliX internal debug logs, you have to say 
Debug.on(3);
before using any SikuliX feature.

This is an example:

Settings.LogTime = true;
Debug.on(3);
Debug.user("userlog *");
new Screen().click();

produces:

[user (24/10/2019, 20:47:03)] userlog *

 internal debug messages .

[107 debug (24/10/2019, 20:47:05)] CLICK on L[640,400]@S(0) (1202 msec)

 internal debug messages at termination .

conclusion:
so only:

Settings.LogTime = true;
Debug.on(3);

is needed, to get similar output to the 1.1.3 situation.

I accept and register as a bug, that there are differences and
-Dsikuli.Debug=3 does not work as expected.

-- 
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 #685374]: [error] thrown Runner: not possible: javax.script.ScriptException: ReferenceError: "find" is not defined in nashorn:mozilla_compat.js at line number 69

2019-10-24 Thread RaiMan
Question #685374 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/685374

RaiMan proposed the following answer:
again:
the downloaded Jython jar must be in the same folder as sikulix.jar (as said in 
the mentioned 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


[Sikuli-driver] [Question #685378]: Sikulix 2 is logging only highlight

2019-10-24 Thread Sabir
New question #685378 on Sikuli:
https://answers.launchpad.net/sikuli/+question/685378

Hi,

I switched yesterday to Sikulix 2. I'm on Ubuntu 18.04 and OpenJDK 11.

I have set the JVM param  -Dsikuli.Debug=3 to get logs as in previous version 
(I was in version 1.1.2 before with logs well working). In my Java code I have 
: 

Settings.ActionLogs = true;
Settings.InfoLogs = true;
Settings.DebugLogs = true;
Settings.UserLogs = true;
Settings.LogTime = true;
Settings.UserLogTime = true;

Now, and after migrating my code to Sikulix 2, I'm seeing only highlight logs 
like :  
[log] highlight R[0,0 1280x146]@S(0) for 1.0 secs

And missed search and click logs. Why ? What to do to get full logs for Sikulix 
actions ?

Many Thanks.

-- 
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 #685374]: [error] thrown Runner: not possible: javax.script.ScriptException: ReferenceError: "find" is not defined in nashorn:mozilla_compat.js at line number 69

2019-10-24 Thread Dominik Jeziorski
Question #685374 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/685374

Dominik Jeziorski posted a new comment:
So I downloaded it because I thought that it might be a needed dependency as 
msg was thrown at IDE startup.
Still I can't find anything that I might be missing that would cause such issue.


Is the Open JDK relevant? 
Or maybe some privileges as I'm using it without any admin role.

-- 
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 1849674] [NEW] Citrix issue

2019-10-24 Thread filleton
Public bug reported:

I'm actually working on a citrix app, when i'm trying to use some
keyboards inputs, it does not work.

Example :
type(Key.ENTER) #does not work
type("\n") #does not work

I also tryed this : but it does not work either
keyDown(Key.ENTER) 
wait(0.5)
keyUp(Key.ENTER)  

How can I fix it?

type("Some text") #Works

Note that all works in a local app (ie: notepad)
Thank you.

** 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/1849674

Title:
  Citrix issue

Status in Sikuli:
  New

Bug description:
  I'm actually working on a citrix app, when i'm trying to use some
  keyboards inputs, it does not work.

  Example :
  type(Key.ENTER) #does not work
  type("\n") #does not work

  I also tryed this : but it does not work either
  keyDown(Key.ENTER) 
  wait(0.5)
  keyUp(Key.ENTER)  

  How can I fix it?

  type("Some text") #Works

  Note that all works in a local app (ie: notepad)
  Thank you.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1849674/+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


Re: [Sikuli-driver] [Question #685374]: [error] thrown Runner: not possible: javax.script.ScriptException: ReferenceError: "find" is not defined in nashorn:mozilla_compat.js at line number 69

2019-10-24 Thread RaiMan
Question #685374 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/685374

RaiMan proposed the following answer:
... to follow up:
https://github.com/RaiMan/SikuliX1/issues/214

-- 
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 #685374]: [error] thrown Runner: not possible: javax.script.ScriptException: ReferenceError: "find" is not defined in nashorn:mozilla_compat.js at line number 69

2019-10-24 Thread RaiMan
Question #685374 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/685374

RaiMan proposed the following answer:
... ok, might be, but having Jython or JRuby on windows path is not the 
requirement, but what is said on 
https://raiman.github.io/SikuliX1/downloads.html in the section:
Needed for scripting support in the IDE and running scripts from commandline

... but the idea of using a Jython or JRuby from windows path is not
that bad (I will register an enhancement for that)

-- 
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 #685374]: [error] thrown Runner: not possible: javax.script.ScriptException: ReferenceError: "find" is not defined in nashorn:mozilla_compat.js at line number 69

2019-10-24 Thread Dominik Jeziorski
Question #685374 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/685374

Dominik Jeziorski posted a new comment:
I have on my windows path set up with all mentioned JDK/jython
2.7.1/jruby - I can start those without any issue.

I'm not sure what else is missing based on description here:
http://sikulix.com/quickstart/


I'm using windows10 64 bit

-- 
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 #685374]: [error] thrown Runner: not possible: javax.script.ScriptException: ReferenceError: "find" is not defined in nashorn:mozilla_compat.js at line number 69

2019-10-24 Thread RaiMan
Question #685374 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/685374

Status: Needs information => Answered

RaiMan proposed the following answer:
... ok, but you have to follow the steps mentioned in the getting
started information

-- 
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 #685374]: [error] thrown Runner: not possible: javax.script.ScriptException: ReferenceError: "find" is not defined in nashorn:mozilla_compat.js at line number 69

2019-10-24 Thread Dominik Jeziorski
Question #685374 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/685374

Dominik Jeziorski posted a new comment:
I just tried to run simple 4 liner script using IDE to check if it's
worth to invest in it (automating RDP app)

-- 
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 #685374]: [error] thrown Runner: not possible: javax.script.ScriptException: ReferenceError: "find" is not defined in nashorn:mozilla_compat.js at line number 69

2019-10-24 Thread Dominik Jeziorski
Question #685374 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/685374

Dominik Jeziorski posted a new comment:
java -version

openjdk version "1.8.0_212-8u"
OpenJDK Runtime Environment (build 1.8.0_212-8u-04)
OpenJDK 64-Bit Server VM (build 25.212-b04, mixed mode)

-- 
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 #685255]: Sikuli execution stuck on VM with old CPU

2019-10-24 Thread RaiMan
Question #685255 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/685255

Status: Needs information => Answered

RaiMan proposed the following answer:
use
java -Dsikuli.Debug=3 -jar 

To get the SikuliX startup log

-- 
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 #685374]: [error] thrown Runner: not possible: javax.script.ScriptException: ReferenceError: "find" is not defined in nashorn:mozilla_compat.js at line number 69

2019-10-24 Thread RaiMan
Question #685374 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/685374

Status: Open => Needs information

RaiMan requested more information:
Use 2.0.0 and see:
https://github.com/RaiMan/SikuliX1/wiki/How-to-use-Launchpad-downloads

... or are you really trying to run scripts written in JavaScript?

-- 
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 #685374]: [error] thrown Runner: not possible: javax.script.ScriptException: ReferenceError: "find" is not defined in nashorn:mozilla_compat.js at line number 69

2019-10-24 Thread Dominik Jeziorski
New question #685374 on Sikuli:
https://answers.launchpad.net/sikuli/+question/685374

I just downloaded sikuli and no matter if I use version 1.1 or version 2.0 I'm 
getting below error.
How should I fix it?

[error] Runner: not possible: javax.script.ScriptException: ReferenceError: 
"find" is not defined in nashorn:mozilla_compat.js at line number 69



-- 
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 #685255]: Sikuli execution stuck on VM with old CPU

2019-10-24 Thread Asheru
Question #685255 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/685255

Asheru posted a new comment:
it is 1.1.3 since we are using headless mode, we are using this still

It works manually no problems, but started from TFS it's stuck here. I
used -verbose while running the script to see the logs from the jar:

Unloading class HagercadConfig$py 0x0001008fd828]
2019-10-23T15:55:41.8364280Z [Unloading class HagercadConfig$py 
0x000100880028]
2019-10-23T15:55:41.8364280Z [Unloading class HagercadConfig$py 
0x0001007d7028]
2019-10-23T15:55:41.8364280Z [Unloading class HagercadRegionsDe$py 
0x0001007d7828]
2019-10-23T15:55:41.8364280Z [Unloading class HagercadConfig$py 
0x0001008fd028]
2019-10-23T15:55:41.8364280Z [Unloading class HagercadRegions$py 
0x000100900028]
2019-10-23T15:55:41.8364280Z [Unloading class HagercadStringsDe$py 
0x0001007e3828]
2019-10-23T15:55:41.8364280Z [Unloading class HagercadConfig$py 
0x0001007e3028]
2019-10-23T15:55:41.8364280Z [Unloading class HagercadStrings$py 
0x0001007e2828]
2019-10-23T15:55:41.8364280Z [Unloading class HagercadConfig$py 
0x0001007e0828]
2019-10-23T15:55:41.8364280Z [Unloading class HagercadLogger$py 
0x0001007da828]
2019-10-23T15:55:41.8364280Z [Unloading class HagercadImagesDe2$py 
0x0001007e4028]
2019-10-23T15:55:41.8364280Z [Unloading class HagercadImagesDe1$py 
0x0001007dd828]
2019-10-23T15:55:41.8364280Z [Unloading class HagercadImagesDe$py 
0x0001007e5828]
2019-10-23T15:55:41.8364280Z [Unloading class HagercadImages$py 
0x0001007e4828]
2019-10-23T15:55:41.8364280Z [Unloading class HagercadLogger$py 
0x0001007e8028]
2019-10-23T15:55:41.8364280Z [Unloading class HagercadUtilities$py 
0x0001007d9028]
2019-10-23T15:55:43.7368080Z [Loaded HagercadImagesDe2$py from 
file:/C:/Sikulix/sikulix.jar]
2019-10-23T15:55:46.7369079Z [Loaded HagercadLogger$py from 
file:/C:/Sikulix/sikulix.jar]
2019-10-23T15:55:46.7369079Z [Loaded HagercadConfig$py from 
file:/C:/Sikulix/sikulix.jar]
2019-10-23T15:55:46.7369079Z [Loaded HagercadUtilities$py from 
file:/C:/Sikulix/sikulix.jar]
2019-10-23T15:55:46.8299265Z [Loaded HagercadConfig$py from 
file:/C:/Sikulix/sikulix.jar]
2019-10-23T15:55:46.8299265Z [Loaded HagercadImages$py from 
file:/C:/Sikulix/sikulix.jar]
2019-10-23T15:55:46.8299265Z [Loaded HagercadConfig$py from 
file:/C:/Sikulix/sikulix.jar]
2019-10-23T15:55:46.8299265Z [Loaded HagercadImagesDe$py from 
file:/C:/Sikulix/sikulix.jar]
2019-10-23T15:55:46.8829371Z [Loaded HagercadImagesDe1$py from 
file:/C:/Sikulix/sikulix.jar]

It stays stuck here forever.

-- 
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 #685255]: Sikuli execution stuck on VM with old CPU

2019-10-24 Thread RaiMan
Question #685255 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/685255

Status: Open => Needs information

RaiMan requested more information:
what SikuliX version?

-- 
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 #684293]: Find failed after X steps

2019-10-24 Thread RaiMan
Question #684293 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/684293

Status: Open => Answered

RaiMan proposed the following answer:
ok, moved down in priority (due to release 2.0.0 works).

I have to admit, that I do not have any idea, how I can help (though I
principally understand what you are doing).

If possible send me (sikulix---at---outlook---dot---com):
- the relevant part of the script
- the used images
- some screenshots and/or a short video

as zip with ref to this question.

-- 
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 #685086]: [1.1.4] IDE: getting ImageMissing with multiple imports depending on what is main

2019-10-24 Thread RaiMan
Question #685086 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/685086

Status: Open => Answered

RaiMan proposed the following answer:
sorry, no.

It moved to lower priority, but will move up again the next days, when I
have finished the works around the release of 2.0.0.

-- 
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 #685372]: The script does not work

2019-10-24 Thread RaiMan
Question #685372 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/685372

Status: Open => Answered

RaiMan proposed the following answer:
#from sikuli import * # not needed in IDE main scripts#

#openApp ("C: \\ Users \\ User \\ CALK \\ calk-pro_x64.exe")
# no intermediate spaces
# see docs for class App
calc = App("C:\\Users\\User\\CALK\\calk-pro_x64.exe")
calc.open()
if not calc.isRunning(10): # wait max 10 seconds
exit(1)

# no sleeps needed, since search waits 3 seconds max for image
click ("btn1.png")
#hover ("ktrbtnyes.jpg") #does not make sense (click follows)
click ("ktrbtnyes.jpg")

Not sure, wether you have looked through the docs already:
https://sikulix-2014.readthedocs.io/en/latest/index.html

Depending on your monitor situation (HiDPI ?, scaling>100%?, ...) you might 
have problems with external snapshots
see: https://bugs.launchpad.net/sikuli/+bug/1730645
It is highly recommended to take the images with the IDE.

-- 
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 #685372]: The script does not work

2019-10-24 Thread Paul Weber
New question #685372 on Sikuli:
https://answers.launchpad.net/sikuli/+question/685372

Hello colleagues!
Sorry for such an elementary question.
I don’t understand what am I doing wrong? Tell me how to cope with the 
following task:
I installed “Sikuli 2.0.0” on Windows10 and try to run a small script in the 
Sikuli IDE:

from sikuli import *
openApp ("C: \\ Users \\ User \\ CALK \\ calk-pro_x64.exe")
sleep (1)
click ("btn1.png")
sleep (1)
hover ("ktrbtnyes.jpg")
sleep (1)
click ("ktrbtnyes.jpg")

And instead of the expected result, I get a message:

[log] CLICK on L [126,850] @S (0) (538 msec)
[error] script [CAL] stopped with error in line 7
[error] FindFailed (ktrbtnyes.jpg: (1213x206) in R [0,0 1920x1080] @S (0))
[error] --- Traceback --- error source first
line: module (function) statement
7: main () hover ("ktrbtnyes.jpg")
[error] --- Traceback --- end --

I have java -version installed:
openjdk version "11.0.3" 2019-04-16
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.3 + 7)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.3 + 7, mixed mode)

I took screenshots of the buttons myself, and not through the “Screenshot” in 
the Sikuli IDE. However, I inserted the button names into the script through 
the "Insert Image" in the Sikuli IDE.
What am I doing wrong?
Where should I place the folder with my project "CAL"?
What modules still need to be connected and how?
And what does the string "7: main () hover (" ktrbtnyes.jpg ") mean?

-- 
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 1840243] Re: [1.1.4] IDE: Double clicking on a sikuli project in the open dialog no longer opens the project --- workaround

2019-10-24 Thread RaiMan
** Changed in: sikuli
Milestone: 1.1.4 => 2.1.0

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

Title:
  [1.1.4] IDE: Double clicking on a sikuli project in the open dialog no
  longer opens the project --- workaround

Status in Sikuli:
  In Progress

Bug description:
  1.1.4-SNAPSHOT-#364-2019-08-02_08:42/Mac10.14.5/Java8(64)1.8.0_73-b02

  This is not critical, just kind of annoying.

  After the last upgrade, when I double click on a project in the
  file/open dialog of the IDE, it opens the project folder in the dialog
  and shows all of its elements rather than opening the project in the
  IDE.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1840243/+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 1840689] Re: [1.1.4] macOS: Java 9+: multi-monitor with 1st Retina and 2nd non-Retina does not work --- workaround: use Java 8

2019-10-24 Thread RaiMan
** Changed in: sikuli
Milestone: 1.1.4 => 2.1.0

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

Title:
  [1.1.4] macOS: Java 9+: multi-monitor with 1st Retina and 2nd non-
  Retina does not work --- workaround: use Java 8

Status in Sikuli:
  In Progress

Bug description:
  I have a retina macbook plugged into an external monitor. A normal
  screenshot from both monitors produces images like this:

  Primary:
  https://imgur.com/J4C7Fcl

  External:
  https://imgur.com/w7q19Xl

  When I use SikuliIDE's "Take screenshot" functionality, it seems to
  resize everything in an odd way:

  Primary:
  https://imgur.com/1ZzqMXT

  External:
  https://imgur.com/sygNmDc

  When running the capture tool, it seems that Sikuli is changing the
  resolution of my external monitor (possibly halving it?). Is this
  something that's happening to deal with retina display? Dividing the
  resolution by 2?

  Currently, it's impossible to take a screenshot on the external
  monitor. I'm also having problems with Sikuli finding anything on the
  external monitor.

  Does Sikuli support a setup that includes a primary retina display
  with an external non-retina display?

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1840689/+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 1843977] Re: [1.1.4] request: open ide via command line with specific scripts to open

2019-10-24 Thread RaiMan
** Changed in: sikuli
Milestone: 1.1.4 => 2.1.0

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

Title:
  [1.1.4] request: open ide via command line with specific scripts to
  open

Status in Sikuli:
  In Progress

Bug description:
  Hello,
  I' like to know if there are some command line option that will cause the 
opening of the ide with a specific script shown, without running it.
  I've been looking in the command line options and trying by myself and it 
seems that the script shown on the ide is ruled by the last edited script.
  Thanks for help!

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1843977/+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


Re: [Sikuli-driver] [Question #685363]: Selenium WebDriver: Safari 11+ blocks Sikulix operations --- no solution

2019-10-24 Thread Abhishek K
Question #685363 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/685363

Abhishek K posted a new comment:
RaiMan, Thank you for the quick response!!

-- 
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 #685086]: [1.1.4] IDE: getting ImageMissing with multiple imports depending on what is main

2019-10-24 Thread Linda
Question #685086 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/685086

Status: Answered => Open

Linda is still having a problem:
Hi,RaiMan
Is there any update about this?

Thanks

-- 
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 #685363]: Selenium WebDriver: Safari 11+ blocks Sikulix operations --- no solution

2019-10-24 Thread RaiMan
Question #685363 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/685363

Status: Open => Answered

RaiMan proposed the following answer:
Apple Safari WebDriver docs clearly say, that a manual intervention for
a webdriver session is not possible/acceptable and always lead to this
popup.

For the Safari webdriver session a SikuliX mouse/keyboard action is the
same as a manual action.

I guess the only solution is to transform these actions to Selenium
actions.

-- 
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 #685363]: Selenium WebDriver: Safari 11+ blocks Sikulix operations --- no solution

2019-10-24 Thread RaiMan
Question #685363 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/685363

Summary changed to:
Selenium WebDriver: Safari 11+ blocks Sikulix operations --- no solution

-- 
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