Re: [Sikuli-driver] [Question #660506]: Mouse cursor is misbehaving on high resolution. How to fix it?

2017-11-09 Thread Abhijit saxena
Question #660506 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/660506

Abhijit saxena gave more information on the question:
Also I am already running this script as admin

-- 
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 #660506]: Mouse cursor is misbehaving on high resolution. How to fix it?

2017-11-09 Thread Abhijit saxena
Question #660506 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/660506

Status: Needs information => Open

Abhijit saxena gave more information on the question:
This is what I got after running debug:

[debug] Jython: requested to use as default region: S(0)[0,0 3840x2160]

[debug] JythonScriptRunner: runPython: running script from IDE:
C:/AutoBat/Bat/Tools/gfxbench3/gfxbench.sikuli

[debug] Region: init: (0, 0, 3840, 2160)
[debug] App.immediate: C:\AutoBat\Bat\Tools\gfxbench3\gfxbench\GFXBench.exe
[debug] App.create: [-1:GFXBench.exe]
[debug] App.open [6116:GFXBench.exe]

[debug] Region: Key.WIN as modifier
[debug] ( Windows ) TYPE "#UP."
[debug] Region: ( Windows ) TYPE "#UP."

[debug] Image: reused: 1.png 
(file:/C:/AutoBat/Bat/Tools/gfxbench3/gfxbench.sikuli/1.png)
[debug] Region: wait: waiting 3.0 secs for 1.png to appear in S(0)[0,0 
3840x2160]

[debug] Region: wait: 1.png appeared (M[1969,1074 94x93]@S(S(0)[0,0
3840x2160]) S:1.00 C:2016,1120 [976 msec])

[error] RobotDesktop: checkMousePosition: should be L(2016,1120)@S(0)[0,0 
3840x2160] but after move is L(3839,2159)@S(0)[0,0 3840x2160] Possible cause in 
case you did not touch the mouse while script was running: Mouse actions are 
blocked generally or by the frontmost application. You might try to run the 
SikuliX stuff as admin.
[debug] CLICK on L(2016,1120)@S(0)[0,0 3840x2160] (535 msec)
[debug] Image: reused: 2.png 
(file:/C:/AutoBat/Bat/Tools/gfxbench3/gfxbench.sikuli/2.png)
[debug] Region: wait: waiting 3.0 secs for 2.png to appear in S(0)[0,0 
3840x2160]

[debug] Region: handleFindFailed: P(2.png) S: 0.7 T: 113,-41
[debug] Region: wait: 2.png did not appear [5280 msec]
[error] script [ gfxbench ] stopped with error in line 9
[error] FindFailed ( 2.png: (646x152) in S(0)[0,0 3840x2160] E:Y, T:3.0 )
[debug] Sikulix: cleanUp: 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 #660506]: Mouse cursor is misbehaving on high resolution. How to fix it?

2017-11-09 Thread Abhijit saxena
Question #660506 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/660506

Abhijit saxena posted a new comment:
@RaiMan

Okay, I'll do that.

And I used highlight() method to find whether sikuli was able to find
image or not.

-- 
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 #660535]: Troubling running the jar file to install

2017-11-09 Thread NickD
New question #660535 on Sikuli:
https://answers.launchpad.net/sikuli/+question/660535

Hello everyone who reads this in the SikuliX community. I am having a slight 
problem with trying to install the .jar file on Ubuntu 17.04. It might be 
because I am using libopencv version 3 (I know it requires 2.4). here is my 
build script:

[info] runcmd: lsb_release -i -r -s 
[debug] RunTimeINIT: global init: entering as: SETUP
[debug] RunTimeINIT: ScreenDevice 0 has (0,0) --- will be primary Screen(0)
[debug] RunTimeINIT: Monitor 0: (0, 0) 1920 x 1080
[debug] RunTimeINIT: runs as sikulixsetup-1.1.1.jar in: 
/home/miyuadmin/Documents/sikulix
* show environment for SETUP (build 201703291041)
user.home: /home/miyuadmin
user.dir (work dir): /home/miyuadmin/Documents/sikulix
user.name: miyuadmin
java.io.tmpdir: /tmp
running 64Bit on Linux (0 Ubuntu 17.10) from a jar
java 8-64 version 1.8.0_151-8u151-b12-0ubuntu0.17.10.2-b12 vm 25.151-b12 class 
52.0 arch amd64
app data folder: /home/miyuadmin/.Sikulix
libs folder: null
executing jar: /home/miyuadmin/Documents/sikulix/sikulixsetup-1.1.1.jar
*** classpath dump sikulix
  0: /home/miyuadmin/Documents/sikulix/sikulixsetup-1.1.1.jar
*** classpath dump end
* show environment end
[debug] RunTimeSETUP: global init: leaving
[debug] RunTimeSETUP: initAPI: entering
[debug] RunTimeSETUP: resourceList: enter
[debug] RunTimeSETUP: resourceLocation: (class org.sikuli.setup.RunSetup) 
/Lib/sikuli
[debug] RunTimeSETUP: resourceList: having jar: 
jar:file:/home/miyuadmin/Documents/sikulix/sikulixsetup-1.1.1.jar!/Lib/sikuli
[debug] RunTimeSETUP: files exported: 7 from: Lib/sikuli to:
 /home/miyuadmin/.Sikulix/Lib/sikuli
[debug] RunTimeSETUP: initAPI: leaving
[debug] FileManager: download to string from:
https://oss.sonatype.org/content/groups/public/com/sikulix/sikulixsetupIDE/1.1.1-SNAPSHOT/maven-metadata.xml,
[debug] RunSetup: getMavenJar: 
sikulixsetupIDE-1.1.1-20170329.232057-141-forsetup.jar
[debug] FileManager: download to string from:
https://oss.sonatype.org/content/groups/public/com/sikulix/sikulixsetupAPI/1.1.1-SNAPSHOT/maven-metadata.xml,
[debug] RunSetup: getMavenJar: 
sikulixsetupAPI-1.1.1-20170329.231900-143-forsetup.jar
[debug] FileManager: download to string from:
https://oss.sonatype.org/content/groups/public/com/sikulix/sikulixlibsmac/1.1.1-SNAPSHOT/maven-metadata.xml,
[debug] RunSetup: getMavenJar: sikulixlibsmac-1.1.1-20170329.230802-154.jar
[debug] FileManager: download to string from:
https://oss.sonatype.org/content/groups/public/com/sikulix/sikulixlibswin/1.1.1-SNAPSHOT/maven-metadata.xml,
[debug] RunSetup: getMavenJar: sikulixlibswin-1.1.1-20170329.230420-154.jar
[debug] FileManager: download to string from:
https://oss.sonatype.org/content/groups/public/com/sikulix/sikulixlibslux/1.1.1-SNAPSHOT/maven-metadata.xml,
[debug] RunSetup: getMavenJar: sikulixlibslux-1.1.1-20170412.113406-155.jar
[debug] RunSetup: 
popAsk: 
You are about to run a setup for 1.1.1 (201703291041)
You should have a suitable backup, 
to go back in case to what you have now.
Click NO to stop here

[debug] RunSetup: 
popAsk: 
You are about to run a setup for 1.1.1 (201703291041)
You should have a suitable backup, 
to go back in case to what you have now.
Click NO to stop here

[debug] RunSetup: command line options:
[debug] RunSetup: 
[debug (11/9/17 11:04:33 AM)] RunTimeSETUP: exists libs folder at: 
/home/miyuadmin/.Sikulix/SikulixLibs_201703291041
[debug (11/9/17 11:04:33 AM)] FileManager: resetFolder:
/home/miyuadmin/Documents/sikulix/SetupStuff
[debug (11/9/17 11:04:33 AM)] RunSetup: checkDownloads: workDir:
/home/miyuadmin/Documents/sikulix
[debug (11/9/17 11:04:33 AM)] RunSetup: checkDownloads: workDirDownloads:
/home/miyuadmin/Documents/sikulix/Downloads
[debug (11/9/17 11:04:33 AM)] RunSetup: checkDownloads: downloadsGeneric:
/home/miyuadmin/.Sikulix/SikulixDownloads
[debug (11/9/17 11:04:33 AM)] RunSetup: checkDownloads: downloadsGenericApp:
/home/miyuadmin/.Sikulix/SikulixDownloads_201703291041
[debug (11/9/17 11:04:33 AM)] RunSetup: checkDownloads: not found: python
[debug (11/9/17 11:04:33 AM)] RunSetup: checkDownloads: not found: tess
[debug (11/9/17 11:04:33 AM)] RunSetup: checkDownloads: not found: python25
[debug (11/9/17 11:04:33 AM)] RunSetup: checkDownloads: not found: api
[debug (11/9/17 11:04:33 AM)] RunSetup: checkDownloads: not found: ide
[debug (11/9/17 11:04:33 AM)] RunSetup: checkDownloads: not found: rubyaddons
[debug (11/9/17 11:04:33 AM)] RunSetup: checkDownloads: not found: win
[debug (11/9/17 11:04:33 AM)] RunSetup: checkDownloads: not found: mac
[debug (11/9/17 11:04:33 AM)] RunSetup: checkDownloads: found: lux:
/home/miyuadmin/.Sikulix/SikulixDownloads_201703291041/sikulixlibslux-1.1.1-20170412.113406-155.jar
[debug (11/9/17 11:04:33 AM)] RunSetup: checkDownloads: not found: ruby
[debug (11/9/17 11:04:33 AM)] RunSetup: ... starting with no args given
[debug (11/9/17 11:04:33 

Re: [Sikuli-driver] [Question #660506]: Mouse cursor is misbehaving on high resolution. How to fix it?

2017-11-09 Thread RaiMan
Question #660506 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/660506

Status: Open => Needs information

RaiMan requested more information:
run the script from commandline using 
runsikulix.cmd -d 3 yourscript

and look for any oddities in the log.

How do you know, that the image is found?

-- 
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 #660530]: Typing a variable automatically presses enter for me.

2017-11-09 Thread sI
Question #660530 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/660530

Status: Answered => Solved

sI confirmed that the question is solved:
It worked! Thank you so much! You made my day!

-- 
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 #660530]: Typing a variable automatically presses enter for me.

2017-11-09 Thread RaiMan
Question #660530 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/660530

Status: Open => Answered

RaiMan proposed the following answer:
Your type(doc) is logged as
[log] TYPE "510#ENTER."

this means, that your doc variable is string, that is ended with a \n,
which in turn is interpreted as an type(Key.ENTER), which surely
activates some ok button.

type(doc.strip()) might help (strips white space from beginning and end
of string)

-- 
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 #660530]: Typing a variable automatically presses enter for me.

2017-11-09 Thread sI
New question #660530 on Sikuli:
https://answers.launchpad.net/sikuli/+question/660530


0
down vote
favorite
Sorry if this is really basic, I cannot find a workaround. I have a variable 
called 'doc' that stores the number 510 that was copied from an excel cell.

I need to type it in a field, but I need to continue typing in another field on 
the same page afterwards.

My code has:

type(doc)
The log shows:

[log] TYPE "510#ENTER."
The full code looks like this:

type(doc)
wait(1)
type(Key.DOWN)
type(Key.BACKSPACE+Key.BACKSPACE+Key.BACKSPACE+Key.BACKSPACE)
wait(1)
type(code)
However, I can't ged to the 'type(code)' because it switches page before I get 
there...

Thank you for the help, it is much appreciated! S

-- 
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 #660518]: Sikuli-Selenium script failing while changing system resolution

2017-11-09 Thread RaiMan
Question #660518 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/660518

Status: Open => Answered

RaiMan proposed the following answer:
If this mess of a log contains any valuable information on the problem
you are complaining, then please concentrate the output on that.

Different resolution does not matter, as long as the pixel contents of
the shot are the same as the image currently being on the screen.

But if together with the different resolution, the rendering of images
leads to different pixel contents or even changed pixel width or size,
then you need a different image set for this environment.

BTW: This is a well known restriction with SikuliX.

-- 
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 #660519]: online-stream-enjoy-watch-thor-ragnarok-2017-full-free-movie-hd-english

2017-11-09 Thread desisadoju
New question #660519 on Sikuli:
https://answers.launchpad.net/sikuli/+question/660519

https://weheartit.com/articles/301088552-online-stream-enjoy-watch-thor-ragnarok-2017-full-free-movie-hd-english
https://weheartit.com/articles/301088552-online-stream-enjoy-watch-thor-ragnarok-2017-full-free-movie-hd-english
https://weheartit.com/articles/301088552-online-stream-enjoy-watch-thor-ragnarok-2017-full-free-movie-hd-english

-- 
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 #660518]: Sikuli-Selenium script failing while changing system resolution

2017-11-09 Thread Yogesh Baviskar
New question #660518 on Sikuli:
https://answers.launchpad.net/sikuli/+question/660518

Hello Team,

I have integrate sikuli with selenium and trying to run script at default 
resolutuion and its working fine.
But if same script run on same machine with different screen resolution then 
sikuli tool unable to click Geometric element.
 Please provide solution.

getting below error:

<2017-11-09 17:07:56,513> INFO  
selenium.com.ptc.windchill.enterprise.common.PageSolvent [main] () - Wait for 
page content to be ready. Ensures all ajax calls are complete before test 
continues. 
<2017-11-09 17:07:58,014> DEBUG 
org.apache.http.client.protocol.RequestAddCookies [Forwarding executeScript on 
session 5a99de29921f845490d40d209e022edd to remote] () - CookieSpec selected: 
best-match
<2017-11-09 17:07:58,014> DEBUG 
org.apache.http.client.protocol.RequestAuthCache [Forwarding executeScript on 
session 5a99de29921f845490d40d209e022edd to remote] () - Auth cache not set in 
the context
<2017-11-09 17:07:58,014> DEBUG 
org.apache.http.impl.conn.PoolingHttpClientConnectionManager [Forwarding 
executeScript on session 5a99de29921f845490d40d209e022edd to remote] () - 
Connection request: [route: {}->http://localhost:14950][total kept alive: 0; 
route allocated: 0 of 2000; total allocated: 0 of 2000]
<2017-11-09 17:07:58,015> DEBUG 
org.apache.http.impl.conn.PoolingHttpClientConnectionManager [Forwarding 
executeScript on session 5a99de29921f845490d40d209e022edd to remote] () - 
Connection leased: [id: 333][route: {}->http://localhost:14950][total kept 
alive: 0; route allocated: 1 of 2000; total allocated: 1 of 2000]
<2017-11-09 17:07:58,015> DEBUG org.apache.http.impl.execchain.MainClientExec 
[Forwarding executeScript on session 5a99de29921f845490d40d209e022edd to 
remote] () - Opening connection {}->http://localhost:14950
<2017-11-09 17:07:58,016> DEBUG 
org.apache.http.impl.conn.HttpClientConnectionOperator [Forwarding 
executeScript on session 5a99de29921f845490d40d209e022edd to remote] () - 
Connecting to localhost/127.0.0.1:14950
<2017-11-09 17:07:58,021> DEBUG 
org.apache.http.impl.conn.HttpClientConnectionOperator [Forwarding 
executeScript on session 5a99de29921f845490d40d209e022edd to remote] () - 
Connection established 127.0.0.1:64853<->127.0.0.1:14950
<2017-11-09 17:07:58,022> DEBUG org.apache.http.impl.execchain.MainClientExec 
[Forwarding executeScript on session 5a99de29921f845490d40d209e022edd to 
remote] () - Executing request POST 
/session/5a99de29921f845490d40d209e022edd/execute HTTP/1.1
<2017-11-09 17:07:58,022> DEBUG org.apache.http.impl.execchain.MainClientExec 
[Forwarding executeScript on session 5a99de29921f845490d40d209e022edd to 
remote] () - Target auth state: UNCHALLENGED
<2017-11-09 17:07:58,022> DEBUG org.apache.http.impl.execchain.MainClientExec 
[Forwarding executeScript on session 5a99de29921f845490d40d209e022edd to 
remote] () - Proxy auth state: UNCHALLENGED
<2017-11-09 17:07:58,022> DEBUG org.apache.http.headers [Forwarding 
executeScript on session 5a99de29921f845490d40d209e022edd to remote] () - 
http-outgoing-333 >> POST /session/5a99de29921f845490d40d209e022edd/execute 
HTTP/1.1
<2017-11-09 17:07:58,022> DEBUG org.apache.http.headers [Forwarding 
executeScript on session 5a99de29921f845490d40d209e022edd to remote] () - 
http-outgoing-333 >> Content-Type: application/json; charset=utf-8
<2017-11-09 17:07:58,022> DEBUG org.apache.http.headers [Forwarding 
executeScript on session 5a99de29921f845490d40d209e022edd to remote] () - 
http-outgoing-333 >> Content-Length: 61
<2017-11-09 17:07:58,022> DEBUG org.apache.http.headers [Forwarding 
executeScript on session 5a99de29921f845490d40d209e022edd to remote] () - 
http-outgoing-333 >> Host: localhost:14950
<2017-11-09 17:07:58,022> DEBUG org.apache.http.headers [Forwarding 
executeScript on session 5a99de29921f845490d40d209e022edd to remote] () - 
http-outgoing-333 >> Connection: Keep-Alive
<2017-11-09 17:07:58,022> DEBUG org.apache.http.headers [Forwarding 
executeScript on session 5a99de29921f845490d40d209e022edd to remote] () - 
http-outgoing-333 >> User-Agent: Apache-HttpClient/4.3.5 (java 1.5)
<2017-11-09 17:07:58,022> DEBUG org.apache.http.headers [Forwarding 
executeScript on session 5a99de29921f845490d40d209e022edd to remote] () - 
http-outgoing-333 >> Accept-Encoding: gzip,deflate
<2017-11-09 17:07:58,022> DEBUG org.apache.http.wire [Forwarding executeScript 
on session 5a99de29921f845490d40d209e022edd to remote] () - http-outgoing-333 
>> "POST /session/5a99de29921f845490d40d209e022edd/execute HTTP/1.1[\r][\n]"
<2017-11-09 17:07:58,022> DEBUG org.apache.http.wire [Forwarding executeScript 
on session 5a99de29921f845490d40d209e022edd to remote] () - http-outgoing-333 
>> "Content-Type: application/json; charset=utf-8[\r][\n]"
<2017-11-09 17:07:58,022> DEBUG org.apache.http.wire [Forwarding executeScript 
on session 5a99de29921f845490d40d209e022edd to remote] () - http-outgoing-333 
>> "Content-Length: 61[\r][\n]"
<2017-11-09 

Re: [Sikuli-driver] [Question #660517]: Problem in running scritps sikulix in different environments

2017-11-09 Thread RaiMan
Question #660517 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/660517

Status: Open => Answered

RaiMan proposed the following answer:
Try: Run your stuff from an admin 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


[Sikuli-driver] [Question #660517]: Problem in running scritps sikulix in different environments

2017-11-09 Thread Eduardo
New question #660517 on Sikuli:
https://answers.launchpad.net/sikuli/+question/660517

I'm trying to run sikulix scritps in different environments, I want to run on a 
computer and a portable computer where both have the same resolution and same 
theme.

The scripts were developed in a computer, when I put them to wheels in the 
portable computer sikilix finds the images, but does not click.

I am currently using the version: 
sikulixsetup-1.1.2-20171107.180044-50-forsetup  and  S.O. Windows 7

Thank you very much in advance!

-- 
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 #660506]: Mouse cursor is misbehaving on high resolution. How to fix it?

2017-11-09 Thread Abhijit saxena
Question #660506 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/660506

Status: Needs information => Open

Abhijit saxena gave more information on the question:
@RaiMan

System is Windows, Java is 1.8 and SikuliX is 1.1.1

-- 
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 #660506]: Mouse cursor is misbehaving on high resolution. How to fix it?

2017-11-09 Thread RaiMan
Question #660506 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/660506

Status: Open => Needs information

RaiMan requested more information:
what system, what java, what SikuliX?

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