[Sikuli-driver] [Question #236126]: [1.0.1] Sikuli IDE hangs on start up with "... starting - pls. wait ..."

2013-09-22 Thread Andrew
New question #236126 on Sikuli:
https://answers.launchpad.net/sikuli/+question/236126

Hi, Sikuli appeared to install okay on Windows 7/32 machine with JRE7 (update 
40), into C:\SikuliX\ folder

but clicking "runIDE.cmd" hangs with a yellow box stating " Sikuli IDE 1.0.1 
... starting - pls. wait ... "

Command Window run debug output here...

Microsoft Windows [Version 6.1.7601]

C:\SikuliX>runide.cmd -d3
+++ running this Java
java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) Client VM (build 24.0-b56, mixed mode, sharing)
+++ trying to start Sikuli IDE
+++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar
C:\SikuliX\sikuli-ide.jar -d3
[debug] Running on Java 7 (1.7.0_40-b43)
[debug] --- Sikuli parameters ---
[debug] 1: -d3
[debug] init user preferences
[debug] locale: en_US
[debug] ResourceLoaderBasic: SikuliX Package Build: 1.0.1 12SEP2013160242
[debug] ResourceLoaderBasic: check: we are running on arch: x86
[debug] ResourceLoaderBasic: check: using Java at: C:/Program Files/Java/jre7/
[debug] ResourceLoaderBasic: check: Exists Environment.SIKULIX_HOME? YES: C:/Sik
uliX/libs
[debug] ResourceLoaderBasic: checkLibsDir: C:/SikuliX/libs
[debug] ResourceLoaderBasic: loadLib: WinUtil
[debug] ResourceLoaderBasic: loadLib: Found: WinUtil
[debug] ResourceLoaderBasic: loadLib: Now loaded: WinUtil
[debug] ResourceLoaderBasic: checkLibsDir: Using libs at: C:\SikuliX\libs
[debug] ResourceLoaderBasic: check: Using this as OCR directory (tessdata) too
[debug] Screen: initScreens: basic initialization (1 Screen(s) found)
[debug] *** monitor configuration (primary: 0) ***
[debug] Screen 0: S(0)[0,0 1080x1920]
[debug] *** end monitor configuration ***
[debug] [I18N] menuShowThumbs
[debug] SikuliX Jython Support Build: 1.0.1 12SEP2013160248


I had previous version of Sikuli (0.9) running okay from c:\Program Files\Sikuli

Thanks for any help!

Andrew | eResearch | University of Western Sydney

-- 
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 #236126]: [1.0.1] Sikuli IDE hangs on start up with "... starting - pls. wait ..."

2013-09-22 Thread Andrew
Question #236126 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/236126

Status: Answered => Solved

Andrew confirmed that the question is solved:
Hi Raimund, thanks for the speedy response! That seems to have mostly
worked.

Sikuli IDE seems a bit fragile, but enough to get a script edit and
launched.

Sometimes it still hangs on launch and a few times I got the
JIntellitype error (see below). But after a few more goes it seems to
come good!

Is there anything I can provide to help with reliable starts?

Cheers, Andrew | eResearch | University of Western Sydney

C:\SikuliX>runide -d3
+++ running this Java
java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) Client VM (build 24.0-b56, mixed mode, sharing)
+++ trying to start Sikuli IDE
+++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar
C:\SikuliX\sikuli-ide.jar -d3
[debug] Running on Java 7 (1.7.0_40-b43)
[debug] --- Sikuli parameters ---
[debug] 1: -d3
[debug] init user preferences
[debug] locale: en_US
[debug] ResourceLoaderBasic: SikuliX Package Build: 1.0.1 12SEP2013160242
[debug] ResourceLoaderBasic: check: we are running on arch: x86
[debug] ResourceLoaderBasic: check: using Java at: C:/Program Files/Java/jre7/
[debug] ResourceLoaderBasic: check: Exists Environment.SIKULIX_HOME? YES: C:/Sik
uliX/libs
[debug] ResourceLoaderBasic: checkLibsDir: C:/SikuliX/libs
[debug] ResourceLoaderBasic: loadLib: WinUtil
[debug] ResourceLoaderBasic: loadLib: Found: WinUtil
[debug] ResourceLoaderBasic: loadLib: Now loaded: WinUtil
[debug] ResourceLoaderBasic: checkLibsDir: Using libs at: C:\SikuliX\libs
[debug] ResourceLoaderBasic: check: Using this as OCR directory (tessdata) too
[debug] Screen: initScreens: basic initialization (1 Screen(s) found)
[debug] *** monitor configuration (primary: 0) ***
[debug] Screen 0: S(0)[0,0 1080x1920]
[debug] *** end monitor configuration ***
[debug] [I18N] menuShowThumbs
[debug] SikuliX Jython Support Build: 1.0.1 12SEP2013160248

C:\SikuliX>runide -d
+++ running this Java
java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) Client VM (build 24.0-b56, mixed mode, sharing)
+++ trying to start Sikuli IDE
+++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar
C:\SikuliX\sikuli-ide.jar -d
Exception in thread "main" com.melloware.jintellitype.JIntellitypeException: Cou
ld not load JIntellitype.dll from local file system or from inside JAR
at com.melloware.jintellitype.JIntellitype.(JIntellitype.java:109)

at com.melloware.jintellitype.JIntellitype.getInstance(JIntellitype.java
:166)
at org.sikuli.basics.WindowsHotkeyManager._addHotkey(WindowsHotkeyManage
r.java:38)
at org.sikuli.ide.SikuliIDE.installCaptureHotkey(SikuliIDE.java:2247)
at org.sikuli.ide.SikuliIDE.initHotkeys(SikuliIDE.java:2290)
at org.sikuli.ide.SikuliIDE.initSikuliIDE(SikuliIDE.java:322)
at org.sikuli.ide.SikuliIDE.(SikuliIDE.java:242)
at org.sikuli.ide.SikuliIDE.getInstance(SikuliIDE.java:349)
at org.sikuli.ide.SikuliIDE.main(SikuliIDE.java:235)
Caused by: java.lang.NullPointerException
at com.melloware.jintellitype.JIntellitype.fromJarToFs(JIntellitype.java
:139)
at com.melloware.jintellitype.JIntellitype.(JIntellitype.java:100)

... 8 more

-- 
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 #236226]: [1.0.1] how to run Sikuli script without Yellow popup box?

2013-09-23 Thread Andrew
New question #236226 on Sikuli:
https://answers.launchpad.net/sikuli/+question/236226

What is the commandline option for runScript so it doesn't generate the yellow 
pop up box?

I tried "-c" (print all output to commandline) but it still pops the yellow box.

c:\sikulix> runscript -c -r "c:\users\andrew\desktop\set.skl"

Also, is there a way to use runScript in a quite or silent mode, with NO 
console output?

With "-f sikulilogfile" and "-u userlogfile" there should be no need for 
console debug, maybe?

Platform - Windows 7/32, Java 1.7.0 update 40.

Cheers, Andrew | eResearch | University of Western Sydney



-- 
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 #144042]: other encodings (cyrillic)

2011-02-03 Thread Andrew
New question #144042 on Sikuli:
https://answers.launchpad.net/sikuli/+question/144042

i cant force sikuli to paste or type cyrillic texts on windows 7
both win-1251 and utf-8 tried

when pasting it shows questions marks or empty rectangles for symbols in 
textfields

when typing it shows error :
File "C:\Program Files\Sikuli X\sikuli-script.jar\Lib\sikuli\Region.py", line 
160, in type
at org.sikuli.script.Region.type_ch(Region.java:904)
at org.sikuli.script.Region.type(Region.java:439)
at org.python.proxies.sikuli.Region$Region$1.super__type(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: Cannot 
type character А

Help me please... Can we solve it?


Andrew


-- 
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 #191510]: Problem in if else

2012-03-23 Thread andrew
New question #191510 on Sikuli:
https://answers.launchpad.net/sikuli/+question/191510

Hiii
I am to create an if else statment 
there are three conditions in my program 
so my code runs good when i am giving 2 conditions 
If and else 
and when i am implementing another if for 3 condition it is crashing 
here is the SC of my  code 
http://gyazo.com/688d0dd0df75e2e3cfb11dfa92b23c0a
please give me correct code as i am new in sikuli 
Thanks in advance  

-- 
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 #191510]: Problem in if else

2012-03-23 Thread andrew
Question #191510 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/191510

Status: Answered => Open

andrew is still having a problem:
This solved my problem but my script is acting weird it is clicking
somewhere else if a screenshot is not found how can i control this is it
possible to give accurate commands

-- 
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 #191510]: Problem in if else

2012-03-25 Thread andrew
Question #191510 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/191510

Status: Answered => Open

andrew is still having a problem:
Please provide me exact code to declare patterns with variables and also
some place to get good sikuli tuts (From basic to advance )

-- 
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 #191510]: Problem in if else

2012-03-25 Thread andrew
Question #191510 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/191510

Status: Answered => Open

andrew is still having a problem:
IS there any section of video tuts or any official channel of sikuli
video tuts

-- 
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 #191510]: Problem in if else

2012-03-26 Thread andrew
Question #191510 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/191510

andrew posted a new comment:
Rail man and jacob dorman you both Rock Thankyou for your precious
Support this helped me very much

-- 
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 #191922]: Sikuli indent problem

2012-03-28 Thread andrew
New question #191922 on Sikuli:
https://answers.launchpad.net/sikuli/+question/191922

I am facing indent problem with my script 
http://gyazo.com/a8ca8b80af9825f50efaf311c6239a51

this is an if else statment now i want it to end 
and then click on some images at the end but it is giving me error how to 
specify an if else statment ended and now to cosider the steps not as if else 
and to consider after each statment 

-- 
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 #191922]: Sikuli indent problem

2012-03-28 Thread andrew
Question #191922 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/191922

Status: Answered => Open

andrew is still having a problem:
Then please give correct if else code 
and also i want to come out of my 1 if else condition and start 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


Re: [Sikuli-driver] [Question #191922]: Sikuli indent problem

2012-03-28 Thread andrew
Question #191922 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/191922

andrew gave more information on the question:
Here is what i want to do
3 statment in if 

then what to click on a image deosnt matter which statment it executed first 
now need to click on image after that please provide code if possible

-- 
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 #192842]: how to tell sikuli to click on a particular region

2012-04-06 Thread andrew
New question #192842 on Sikuli:
https://answers.launchpad.net/sikuli/+question/192842

how to get dimensions of screen in sikuli and how to implement them i want 
sikuli to click on uper left image as there are multiple image 
how to get x,y cordinates and how to use them please give some code and help in 
getting x,y cordinates

-- 
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 #192842]: how to tell sikuli to click on a particular region

2012-04-07 Thread andrew
Question #192842 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/192842

Status: Answered => Open

andrew is still having a problem:
how to get x and y axis of the screen i am unable to find it there
please provide me code

-- 
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 #192842]: how to tell sikuli to click on a particular region

2012-04-07 Thread andrew
Question #192842 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/192842

Status: Needs information => Open

andrew gave more information on the question:
But how to get this pixels it is only showing rectengular box no pixel is 
displayed so how i get pixel to enter in sikuli script 
please demonstrate it with an example or give me your email id so that i can 
clearly ask you my doubt 

thanks for your help :)

-- 
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 #272556]: Contributing to SikuliAPI in Eclipse; setup issues

2015-10-17 Thread Andrew Gorbaty
New question #272556 on Sikuli:
https://answers.launchpad.net/sikuli/+question/272556

Hey Raiman!

I am a fan of Sikuli from Maryland in the US. Thank you so much for developing 
Sikuli!

I am interested in contributing to the SikuliAPI for Sikuli 2015. However, I am 
having some trouble getting started. I decided that I am going to develop new 
functionality at the Java level and go from there. I was also interested in 
fixing Sikuli bugs. After looking at some information online, I performed the 
following steps:

1) I forked and cloned the repository https://github.com/RaiMan/SikuliX2 .
2) Using eclipse, I created a new Java project and tried to import the project 
from the repository I cloned into this new project.
3) Upon import, I received a bunch of errors (I see errors involving the 
package names in eclipse, i.e. main.java.org.sikuli.script)
4) I tried changing this package to "org.sikuli.script" and I am still 
receiving compilation errors in Eclipse.

Is there a special way to set this up and create a new build of the API in 
Eclipse. Perhaps modifying the XML file for the eclipse project? Is there 
anything else I should be aware of? Do you have any tips for eclipse setup that 
I should be aware of?

Is it also okay if I pull from the github repository? I read that Maven 3+ is 
required for development, but I was confused about this (since the Sikuli code 
is in two different places if this is the case, one on github, and one on 
Maven).

I hope you don't mind me asking these questions, but I just wanted to 
contribute to Sikuli using Eclipse, and I couldn't really find any resources 
for this specific setup on this board (please let me know if this has already 
been addressed).

Thanks for hearing me out, and I am looking forward to contribute!

Cheers,
Andrew

-- 
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 #204121]: Help making a functional test suite.

2012-07-25 Thread Andrew Munro
New question #204121 on Sikuli:
https://answers.launchpad.net/sikuli/+question/204121

Hey! I have been playing around with sikuli and decided I want to create a test 
suite for QA testing. I am trying to make the suite as user friendly as 
possible because most of the end-users are non-programmers. I am using the 
python unittesting module and HTMLTestRunner for the results.

So far, I have a base testcase class which has the setUp and teardown methods. 
When the user creates a script in the ide, I want it to inherit the base 
testcase class and keep things as simple as possible for the user making the 
script.

Where I am stuck is that I am not sure how to load the tests into the test 
suite automatically. Here is what I have so far:

http://pastie.org/private/ntqffu5gmhdzbcacz5vog - This is the testrunner. It 
should import all tests from the sikuli script and run them.

http://pastie.org/private/8z94bnah7hpprrmsopuymg - This is the base testcase 
class. All scripts inherit from this.

http://pastie.org/private/stbejo3tqnzzpdhia2hlg - This is an example test.


Also, I currently use popen.subprocess to open the sikuli scripts one by one. 
Is there a better way of doing this?

Is there anyway I could simplify the test-scripts further so the user can just 
input for example, click(), wait(), and save the script.

In summary, has anyone attempted to make a sikuli test suite before? Any advice 
on how to structure it would be a huge help!

-- 
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 #204121]: Help making a functional test suite.

2012-07-25 Thread Andrew Munro
Question #204121 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/204121

Description changed to:
Hey! I have been playing around with sikuli and decided I want to create
a test suite for QA testing. I am trying to make the suite as user
friendly as possible because most of the end-users are non-programmers.
I am using the python unittesting module and HTMLTestRunner for the
results.

So far, I have a base testcase class which has the setUp and teardown
methods. When the user creates a script in the ide, I want it to inherit
the base testcase class and keep things as simple as possible for the
user making the script.

Where I am stuck is that I am not sure how to load the tests into the
test suite automatically. Here is what I have so far:

http://pastie.org/private/ntqffu5gmhdzbcacz5vog - This is the
testrunner. It should import all scripts specified in a list or all
.sikuli scripts saved in the same directory and run them.

http://pastie.org/private/8z94bnah7hpprrmsopuymg - This is the base
testcase class. All scripts inherit from this.

http://pastie.org/private/stbejo3tqnzzpdhia2hlg - This is an example
test.


Also, I currently use popen.subprocess to open the sikuli scripts one by one. 
Is there a better way of doing this?

Is there anyway I could simplify the test-scripts further so the user
can just input for example, click(), wait(), and save the script.

In summary, has anyone attempted to make a sikuli test suite before? Any
advice on how to structure it would be a huge help!

-- 
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 #204121]: Help making a functional test suite.

2012-07-25 Thread Andrew Munro
Question #204121 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/204121

Status: Answered => Solved

Andrew Munro confirmed that the question is solved:
Hmm interesting. So you are saying you could run sikuli as a server that
runs in a box and listens for clients to push it scripts. This would
probably be the best solution for us as we could just push it tests as
we please and have it write the results to a webserver. Our biggest use
for sikuli is for "smoketesting" after new builds. Sometimes a new build
will break something that was previously working and so most of the
tests stay the same.

How would this be implemented exactly?

I am briefly having a look here:
https://github.com/enix12enix/sikuliserver

Is there a way to queue scripts and how does it output the results?

-- 
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 #204121]: Help making a functional test suite.

2012-07-25 Thread Andrew Munro
Question #204121 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/204121

Andrew Munro posted a new comment:
Hmm interesting. So you are saying you could run sikuli as a server that
runs in a box and listens for clients to push it scripts. This would
probably be the best solution for us as we could just push it tests as
we please and have it write the results to a webserver. Our biggest use
for sikuli is for "smoketesting" after new builds. Sometimes a new build
will break something that was previously working and so most of the
tests stay the same.

How would this be implemented exactly?

I am briefly having a look here:
https://github.com/enix12enix/sikuliserver

Is there a way to queue scripts and how does it output the results?

-- 
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 #204121]: Help making a functional test suite.

2012-07-25 Thread Andrew Munro
Question #204121 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/204121

Status: Solved => Open

Andrew Munro is still having a problem:
Accidentally clicked on the solved button :S

-- 
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 #204121]: Help making a functional test suite.

2012-07-25 Thread Andrew Munro
Question #204121 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/204121

Andrew Munro posted a new comment:
Ok looking further into it, the server seems to just be a remote desktop
running sikuli. I will probably use this, but I will still have to
develop a test suite to publish the results and run specified tests in
order.

-- 
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 #204121]: Help making a functional test suite.

2012-07-26 Thread Andrew Munro
Question #204121 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/204121

Status: Answered => Solved

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


[Sikuli-driver] [Question #204826]: Possible to do exists with a list of items?

2012-08-02 Thread Andrew Munro
New question #204826 on Sikuli:
https://answers.launchpad.net/sikuli/+question/204826

I have an issue where there is a choice of different objects that can come up 
on the screen. Sikuli needs to check if any of them come up, and click on them.

At the moment I am doing an if statement to check if any of them come up, but 
this seems a bit overkill because I need to perform the same action on multiple 
images.

Basically what I want is to give it a list and have it perform an action on any 
item that appears in the list.

eg:

list = [image1, image2, image3, ... image 37]

if exists in (list):
 click item in list

-- 
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 #204826]: Possible to do exists with a list of items?

2012-08-02 Thread Andrew Munro
Question #204826 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/204826

Andrew Munro confirmed that the question is solved:
Thanks RaiMan, that solved my question.

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

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


Re: [Sikuli-driver] [Question #204826]: Possible to do exists with a list of items?

2012-08-02 Thread Andrew Munro
Question #204826 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/204826

Status: Answered => Solved

Andrew Munro confirmed that the question is solved:
Thanks RaiMan. I will try some experimentation with threading and report
back if I find a better solution. As we are starting with fairly small
lists, I don't see this method as being a problem.

-- 
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 #207372]: Create Region from Match/Speeding up Searches!

2012-08-31 Thread Andrew Munro
New question #207372 on Sikuli:
https://answers.launchpad.net/sikuli/+question/207372

I am trying to create a sikuli script that plays a memory card game.

My current code works, however the game has a timer and it times out searching 
through my array. I was hoping there is a faster way to search for an image.

My current basic code:

cards = [images of each possible card] # eg [card1.png, card2.png]

areas = [matches of each area] # each area is a match taken from a reference 
point image and then using the offset feature.

for area in areas:
  click(area)
  for card in cards:
if exists(card, 0)
  match.append((area, card))

Ideally I want to make it so it only searches in the area for the correct card. 
And before you ask, no I cannot simply define a region for each card area. I 
have put a personal ban on using regions defined by coordinates as they seem to 
break our tests when run in a different resolutions.

Regards,
Andrew

-- 
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 #207372]: Create Region from Match/Speeding up Searches!

2012-08-31 Thread Andrew Munro
Question #207372 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207372

Description changed to:
I am trying to create a sikuli script that plays a memory card game.

My current code works, however the game has a timer and it times out
searching through my array. I was hoping there is a faster way to search
for an image.

My current basic code:

cards = [images of each possible card] # eg [card1.png, card2.png]

areas = [matches of each area] # each area is a match taken from a
reference point image and then using the offset feature.

match = [] # A list of tuples containing if each match. We can then
easily match up pairs!

for area in areas:
  click(area)
  for card in cards:
if exists(card, 0)
  match.append((area, card))

Ideally I want to make it so it only searches in the area for the
correct card. And before you ask, no I cannot simply define a region for
each card area. I have put a personal ban on using regions defined by
coordinates as they seem to break our tests when run in a different
resolutions.

Regards,
Andrew

-- 
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 #207372]: Create Region from Match/Speeding up Searches!

2012-09-02 Thread Andrew Munro
Question #207372 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207372

Status: Answered => Open

Andrew Munro is still having a problem:
No, sorry if I was not clear. Area is not a region. It is a match object
which is calculated using an offset from an image. Each card has its own
offset. Is it possible to convert area from a match to a region or can
you define a region from an offset of an image.

Maybe this may work but Il need to test it.

Reg = image.offset(x,x).below(100)

Perhaps there is an easier way...

-- 
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 #207372]: Create Region from Match/Speeding up Searches!

2012-09-02 Thread Andrew Munro
Question #207372 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207372

Status: Needs information => Open

Andrew Munro gave more information on the question:
Sorry, maybe I am getting confused. I thought that when you offset an
image, it is converted to a match object. Anyway, area is not a
rectangle, it is a point which is from an image with an offset.

reference_image = img.png
cards = [(img.png).offset(x,y), (img.png).offset(x,y) etc etc]

The cards do always stay in the same place so I can simply use an offset
from an image. The cards look the same so I cannot use images. I cannot
create a region (the normal way) because I want it to work on different
browsers and screen resolutions, and from much experimentation, I find
that regions break due to them being set on pixel coordinates.

My normal way to get a region is by doing find(img).below(xpixles) but
as each card looks the same, I cannot do this.

-- 
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 #207372]: Create Region from Match/Speeding up Searches!

2012-09-03 Thread Andrew Munro
Question #207372 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207372

Status: Answered => Open

Andrew Munro is still having a problem:
Ah, I seem to have been getting confused between 'targetoffset' and
'offset'. Anyway I will try your solution and report back.

Here are the screenshots if interested:

http://i47.tinypic.com/2j6q68.png  -- The game. Clicking on a card
reveals a flower. The hourglass is a timer that counts down the
remaining time. When clicking on a card, the flower appears until you
choose another card.

http://i50.tinypic.com/33uq4jc.png -- My code. Ignore the top line, it
just gets the game region of the swf file by taking the top image and
extending a region 750 pixels below it. The cards are possible images
that appear if a card is clicked.

Areas are the areas to click and search.

The general solution:

Click on every area and find a flower. Save paired flowers and areas as
a tuple in a list. Iterate over matches in the list to click on pairs.

The problem:

Takes too long to search for every flower in the card space and the game
timer (hourglass) times out after 1 or two cards.

-- 
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 #207372]: Create Region from Match/Speeding up Searches!

2012-09-03 Thread Andrew Munro
Question #207372 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207372

Status: Answered => Solved

Andrew Munro confirmed that the question is solved:
Thanks Raimund, I suck at recursion :)

-- 
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 #207372]: Create Region from Match/Speeding up Searches!

2012-09-04 Thread Andrew Munro
Question #207372 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207372

Andrew Munro confirmed that the question is solved:
Thanks RaiMan, that solved my question.

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

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


Re: [Sikuli-driver] [Question #207372]: Create Region from Match/Speeding up Searches!

2012-09-04 Thread Andrew Munro
Question #207372 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207372

Andrew Munro posted a new comment:
Hey, I only just now had time to fully read and understand your code. I
would never have thought to capture images on the fly.

All I had to do was change the hovers to clicks and add a few waits.

Thank you so much, I think this should belong somewhere more public, it
works extremely well and really shows off the power of sikuli :)

Thanks again,

Andrew

-- 
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 #207372]: Create Region from Match/Speeding up Searches!

2012-09-04 Thread Andrew Munro
Question #207372 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207372

Andrew Munro posted a new comment:
It make take you a while to go through the registration tutorials, but
here is the link:

http://www.petrasplanet.com/site/

I can understand why you couldn't find it, there are 100s of
minigames/quests in the world.

Click new user and create your character or login until you get into the
game. When you can, click on the globe at the top right of the screen...
this takes you to the world map.

Then click on sri lanka and find 'little elephants plaza'. Click on this
and wait until it loads.

Finally, click on the npc labeled 'botanist'. This will take you to the
game.

I have uploaded some screenshots to guide you: http://imgur.com/a/Vhv3p

P.S Your script worked very well, but there was a bug somewhere in the
last else statement:

else:
# no match, so check whether we know it

I didn't have time to fix it, so I left it be. It works well enough, and
the purpose of these scripts is to ensure the game is playable, not
necessarily completable.

I plan to do a video series presenting some of the scripts in the future
to show our client (the owner of petrasplanet). I'll let you know if
interested.

Thanks again,
Andrew

-- 
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 #207655]: Need to pass input as file from user

2012-09-04 Thread Andrew Munro
Question #207655 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207655

Status: Open => Answered

Andrew Munro proposed the following answer:
RaiMan's solution is fairly simple so I'm guessing you don't have much
python experience. I will try walk you through a simpler solution using
pythons configparser:

Create a text file in the same folder that has your script.sikuli in and
call it 'config.ini'

Then type in your config variables, here is an example:

[vmsettings] # This is the 'section'

esxip = 
name  = 


Then in your sikuli script, at the top put:

import ConfigParser

config = ConfigParser.ConfigParser()
config.read("config.ini") # Or put in the absolute path to the config.ini file


Now you can get all your variables from the config file by doing:

#var = config.get(section, variable)

esxip = config.get(vmsettings,esxip)
name = config.get(vmsettings,name)

-- 
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 #207346]: Configuration issue

2012-09-04 Thread Andrew Munro
Question #207346 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207346

Andrew Munro posted a new comment:
It's looking in the temp folder for your libraries.. that probably means
that your batch file that you use to  launch Sikuli has the wrong paths.

I encountered this error when using Windows XP and Sikuli was installed
in a different drive.

Try investigate the batch file and experiment with the path variable. My
only way of fixing it was to download the portable version of sikuli
onto the custom drive and then changed the lib path to:

PATH=%PATH%;Sikuli-X-1.0rc3\Sikuli-IDE\libs

-- 
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 #207655]: Need to pass input as file from user

2012-09-04 Thread Andrew Munro
Question #207655 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207655

Andrew Munro proposed the following answer:
In response to your question about looping values from a file, if you
get your input from configparser, why not just do in your config file:

sizeofdisk = 20, 30, 40

Then in sikuli:

def list_from_string(option, sep=',', chars=None):
"""Return a list from a ConfigParser option. By default, 
   split on a comma and strip whitespaces."""
return [ chunk.strip(chars) for chunk in option.split(sep) ]

disksizes = list_from_string(config.get(vmsettings,disksizes)


'disksizes' will now return: [20,30,40] giving you your array of inputted disk 
sizes.

-- 
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 #207372]: Create Region from Match/Speeding up Searches!

2012-09-04 Thread Andrew Munro
Question #207372 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207372

Andrew Munro posted a new comment:
Thanks, if you are up for a harder challenge, there is one in Sami-Land
--> Winter Palace --> House called 'Winter Home'.

On the right there is a minigame called 'Memory Cabin'. Same idea except
the cards move when a match is found and the images are much smaller and
more similar. Im going to try modify what you have given me tomorrow and
see if I can get it to work.

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

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


Re: [Sikuli-driver] [Question #207372]: Create Region from Match/Speeding up Searches!

2012-09-05 Thread Andrew Munro
Question #207372 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207372

Andrew Munro posted a new comment:
Thanks, works perfectly ^^. Had to remove the mac stuff because it was
the double click was clicking the playNow and the difficulty. Strange
that the mac requires double click. Anyway, im still amazed at how fast
it works.

What exactly is the time tradeoffs between the different search methods.
For example, when comparing a new image against a previously known one,
just how fast can you get a response. At the moment, I use something
like:

def compare(img1, img2, reg = SCREEN):
f = Finder(img1)
if f.find(img2).hasNext():
return True
else:
return False

I only ask because there is a driving minigame where you have to avoid
objects coming towards you and I was wondering if its possible for
sikuli to detect these fast enough.

I feel like every time I do an 'if exists(img, 0)' it takes too long to
timeout. :3

-- 
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 #207372]: Create Region from Match/Speeding up Searches!

2012-09-05 Thread Andrew Munro
Question #207372 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207372

Andrew Munro posted a new comment:
--moving objects are very challenging to handle with Sikuli:

Thanks. I will try experimenting with taking a picture of the car with
nothing in front of it, and then add an onChange so that if something
does appear in front of it, it moves to the left or something.

-- 
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 #207739]: Sqlite in Sikuli/jython

2012-09-05 Thread Andrew Munro
New question #207739 on Sikuli:
https://answers.launchpad.net/sikuli/+question/207739

I tried to import sqlite3 into sikuli only to find I was getting import errors. 
After digging around a bit, it seems sqlite3 does not work in jython (correct 
me if im wrong?).

Anyway, does anyone know of anyway to connect to a database in sikuli?

-- 
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 #207739]: Sqlite in Sikuli/jython

2012-09-05 Thread Andrew Munro
Question #207739 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207739

Status: Answered => Open

Andrew Munro is still having a problem:
Thanks, almost got it working. Are there any JDBC drivers built in to
the sikuli jython instance or do I have to add my own.

If not, would I just download a driver.jar and then modify my batch
script and add something like:

java -Xms64M -Xmx512M -Dfile.encoding=UTF-8
-Dpython.path="Sikuli-X-1.0rc3\Sikuli-IDE\sikuli-script.jar/" -jar
"Sikuli-X-1.0rc3\Sikuli-IDE\sikuli-ide.jar" -jar "driver.jar"

-- 
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 #207739]: Sqlite in Sikuli/jython

2012-09-05 Thread Andrew Munro
Question #207739 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207739

Status: Answered => Solved

Andrew Munro confirmed that the question is solved:
Thanks RaiMan, that solved my question.

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

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


Re: [Sikuli-driver] [Question #207739]: Sqlite in Sikuli/jython

2012-09-06 Thread Andrew Munro
Question #207739 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207739

Status: Solved => Open

Andrew Munro is still having a problem:
Hey, so after reading through the documentation, I tried two methods to
import my java class.

The first being :

%JAVA_EXE% -Xms64M -Xmx512M  -classpath "sqlite-jdbc.jar" 

I also tried adding:

 set CLASSPATH=sqlite-jdbc.jar;%CLASSPATH%

but I still get "zxJDBC.DatabaseError: driver [org.sqlite.JDBC] not
found


I feel like I'm missing something obvious.

-- 
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 #207739]: Sqlite in Sikuli/jython

2012-09-06 Thread Andrew Munro
Question #207739 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207739

Status: Answered => Solved

Andrew Munro confirmed that the question is solved:
... how did my searching not find this -_-

too early in the morning. Sorry :)

-- 
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 #207739]: Sqlite in Sikuli/jython

2012-09-06 Thread Andrew Munro
Question #207739 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207739

Status: Solved => Open

Andrew Munro is still having a problem:
Ok, tried experimenting for the last hour and still can't get this to
work..(either windows command files suck or I do xD)

My normal bat script consists of:

@echo off

PATH=%PATH%;Sikuli-X-1.0rc3\Sikuli-IDE\libs
set JAVA_EXE="java"
set CLASSPATH=sqlite-jdbc.jar;%CLASSPATH%

if defined PROGRAMFILES(X86) set 
JAVA_EXE="%PROGRAMFILES(X86)%\Java\jre6\bin\java.exe"
%JAVA_EXE% -Xms64M -Xmx512M -classpath "sqlite-jdbc.jar" -Dfile.encoding=UTF-8 
-Dpython.path="Sikuli-X-1.0rc3\Sikuli-IDE\sikuli-script.jar/" -jar 
"Sikuli-X-1.0rc3\Sikuli-IDE\sikuli-ide.jar" -r "run_suite.sikuli"

My driver is in the same directory as the .bat file as is my jython.jar
that I downloaded.

I have tried the following:

set cp=sqlite-jdbc.jar
set cp=%cp%:jython.jar
java -cp %cp% org.python.util.jython %1.sikuli/%1.py

I do not understand the last part %1.sikuli/%1.py.

I could not get it to find sikuli :s

-- 
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 #207739]: Sqlite in Sikuli/jython

2012-09-06 Thread Andrew Munro
Question #207739 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207739

Andrew Munro gave more information on the question:
Exception in thread "main" java.lang.NoClassDefFoundError: 
org/python/util/jython
Caused by: java.lang.ClassNotFoundException: org.python.util.jython
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: org.python.util.jython.  Program will exit.

FYI that is the error I have

-- 
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 #207739]: Sqlite in Sikuli/jython

2012-09-07 Thread Andrew Munro
Question #207739 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207739

Status: Answered => Open

Andrew Munro is still having a problem:
Ok confirmed that I could get it working in the jython shell, however I
want it to execute and run my script with a single .bat

I tried:

%JAVA_EXE% -Xms64M -Xmx512M -cp "sqlite-jdbc.jar;Sikuli-X-1.0rc3\Sikuli-
IDE\sikuli-script.jar/" org.python.util.jython

Finds my driver and connects fine!

But when I try to swap them round and put the jython in the cp and run
the sikuli-ide with my startup script, it can't find the driver:

%JAVA_EXE% -Xms64M -Xmx512M -cp "sqlite-jdbc.jar;jython.jar/"
-Dfile.encoding=UTF-8 -Dpython.path="Sikuli-X-1.0rc3\Sikuli-IDE\sikuli-
script.jar" -jar "Sikuli-X-1.0rc3\Sikuli-IDE\sikuli-ide.jar" -r
"run_suite.sikuli"

Im going to do a little reading into java parameters, but im puzzled as
to how I execute sikuli automatically with jython.

-- 
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 #207739]: Sqlite in Sikuli/jython

2012-09-07 Thread Andrew Munro
Question #207739 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207739

Andrew Munro posted a new comment:
Nope, still can't find the driver. Im confused now, I thought I had to
add jython to my cp or something?

Using:

%JAVA_EXE% -cp "sqlite-jdbc.jar;Sikuli-X-1.0rc3\Sikuli-IDE\sikuli-
script.jar" -jar "Sikuli-X-1.0rc3\Sikuli-IDE\sikuli-script.jar"
run_suite.sikuli

I:\QA\sikuli>"Run_Suite(Vista,7).bat"
[info] Sikuli vision engine loaded.
[info] Windows utilities loaded.
[info] VDictProxy loaded.
[error] Can't run this Sikuli script: run_suite.sikuli
Traceback (most recent call last):
  File "I:\QA\sikuli\run_suite.sikuli\run_suite.py", line 26, in 
conn = zxJDBC.connect("jdbc:sqlite:"+filename+"\\tests.db", None, None, 
"org.sqlite.JDBC")
zxJDBC.DatabaseError: driver [org.sqlite.JDBC] not found

Code:

filename = dubit.config_get(testcfgfile, 'paths', 'htmlindex')
from com.ziclix.python.sql import zxJDBC
conn = zxJDBC.connect("jdbc:sqlite:"+filename+"\\tests.db", None, None, 
"org.sqlite.JDBC")

I am remebering back to when my friend suggested using a database to
store my results data. "It will be 3 lines of python!" he said... "it
will be easy"... he said xD

-- 
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 #207739]: Sqlite in Sikuli/jython

2012-09-07 Thread Andrew Munro
Question #207739 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207739

Status: Solved => Open

Andrew Munro is still having a problem:
Ok, I tried this:

%JAVA_EXE% -Xms64M -Xmx512M -cp "sqlite-jdbc.jar;Sikuli-X-1.0rc3\Sikuli-
IDE\sikuli-script.jar" -jar "jython.jar" "run_suite.py"

Couldn't find my driver and also gave me a load of cpython import errors
(e.g No module named OS)

-- 
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 #207739]: Sqlite in Sikuli/jython

2012-09-07 Thread Andrew Munro
Question #207739 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207739

Status: Answered => Solved

Andrew Munro confirmed that the question is solved:
Ok, I tried this:

%JAVA_EXE% -Xms64M -Xmx512M -cp "sqlite-jdbc.jar;Sikuli-X-1.0rc3\Sikuli-
IDE\sikuli-script.jar" -jar "jython.jar" "run_suite.py"

Couldn't find my driver and also gave me a load of cpython import errors
(e.g No module named OS)

-- 
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 #207739]: Sqlite in Sikuli/jython

2012-09-07 Thread Andrew Munro
Question #207739 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207739

Andrew Munro posted a new comment:
http://code.google.com/p/sqlite-jdbc/

Driver works fine because it worked in the jython shell :3

-- 
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 #207739]: Sqlite in Sikuli/jython

2012-09-07 Thread Andrew Munro
Question #207739 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207739

Andrew Munro confirmed that the question is solved:
Thanks RaiMan, that solved my question.

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

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


Re: [Sikuli-driver] [Question #207739]: Sqlite in Sikuli/jython

2012-09-07 Thread Andrew Munro
Question #207739 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207739

Status: Answered => Solved

Andrew Munro confirmed that the question is solved:
Hey it works

%JAVA_EXE% -Xms64M -Xmx512M -cp "sqlite-jdbc.jar;Sikuli-X-1.0rc3\Sikuli-
IDE\sikuli-script.jar" org.sikuli.script.SikuliScript run_suite.sikuli

I made a stupid error and didn't use your solution properly. I still
tried the .jar rather than org.sikuli.script.SikuliScript !

Thanks for all your help RaiMan, you're a lifesaver :)

-- 
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 #208592]: Passing image to function problem

2012-09-14 Thread Andrew Ryaskov
New question #208592 on Sikuli:
https://answers.launchpad.net/sikuli/+question/208592

Hi!
I'm new to SIkuli X and my question is:
How to pass an image in function for its future use there?

Small example:
##
def changeIconSizeTo(needSize):
if find("1.png") and needSize != "1.png":
click("1.png")
changeIconSizeTo(needSize)
elif find("2.png") and needSize != "2.png":
click("2.png")
changeIconSizeTo(needSize)
elif find ("3.png") and needSize != "3.png":
click("3.png")
changeIconSizeTo(needSize)
elif find("4.png") and needSize != "4.png":
click("4.png")
changeIconSizeTo(needSize)
else:
pass

click("1347627982956.png")
click("1347628464585.png")
click(Pattern("1347628684421.png").similar(0.86))
doubleClick("1347628756448.png")
changeIconSizeTo("3.png")

#

It crashes on
changeIconSizeTo("3.png") - org.sikuli.script.FIndFailed: can not find 
3.png on the screen
But I just want to pass this image as parameter for its processing in the 
function. I don't need to find this region on the screen.


Thanks in advance! 

-- 
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 #208801]: Yet another java.lang.UnsatisfiedLinkError

2012-09-17 Thread Andrew Munro
New question #208801 on Sikuli:
https://answers.launchpad.net/sikuli/+question/208801

I have an java.lang.UnsatisfiedLinkError using only windows XP machines.

My current setup is a test suite setup on an interactive drive. I have both 
sikuli installed locally and on the interactive share. The batch file works 
fine on windows 7 64bit, but not on windows XP 32bit.

I did have my batch files all working correctly until I implemented JDBC server 
connection which changed the way I execute sikuli ( I know execute using the 
class path).

My current .bat file:


@echo off

PATH=%PATH%;Sikuli-X-1.0rc3\Sikuli-IDE\libs
set JAVA_EXE="java"

if defined PROGRAMFILES(X86) set 
JAVA_EXE="%PROGRAMFILES(X86)%\Java\jre6\bin\java.exe"
%JAVA_EXE% -Xms64M -Xmx512M -cp 
"mysql-jdbc.jar;Sikuli-X-1.0rc3\Sikuli-IDE\sikuli-script.jar" 
org.sikuli.script.SikuliScript run_suite.sikuli


The error:

java.lang.UnsatisfiedLinkError: java.lang.UnsatisfiedLinkError: C:\Program 
Files\Sikuli X\libs\Win32Util.dll: Can't find dependent libraries

What is strange is that I have put that exact path (copy and paste) into 
windows explorer and it found the .dll fine. Im starting to think it's some 
sort of weird permission error due to it being executed from the network drive. 
I also put my sikuli lib directory relative to the current drive in the path 
but it still uses c: to find them.

to clarify, I have two directories it can find the dlls:

C:\Program Files\Sikuli X\libs
Sikuli-X-1.0rc3\Sikuli-IDE\libs <  in the working directory


-- 
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 #208801]: Yet another java.lang.UnsatisfiedLinkError

2012-09-17 Thread Andrew Munro
Question #208801 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/208801

Andrew Munro posted a new comment:
Sorry I don't follow...my java is in environment variables anyway and
only 32bit is installed.

-- 
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 #208801]: Yet another java.lang.UnsatisfiedLinkError

2012-09-18 Thread Andrew Munro
Question #208801 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/208801

Status: Needs information => Open

Andrew Munro gave more information on the question:
Sorry, interactive drive is a network drive mapped to my computer
(effectively a removable hdd / usb-stick).

 I had sikuli installed in this device (the network drive) because it
was having issues accessing the lib files from another drive (e.g I run
a script on drive D: and it cannot access sikuli files on drive C, this
seems to only be present in Windows XP.). It was all working fine and
using the .dlls located in my network drive until I modified the bat to
use the classpath instead of jar.

My path variable set in Windows Environment Variables is:

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;c:\Program
Files\Sikuli X\libs;c:Program Files\Java\jre6\bin;C:\Program
Files\MySQL\MySQL Server 5.5\bin;I:\QA\sikuli\Sikuli-X-1.0rc3\Sikuli-
IDE\libs

My SIKULI_HOME  in Windows Environment Variables is:

I:\QA\sikuli\Sikuli-X-1.0rc3\Sikuli-IDE\libs


I execute sikuli with the following command:

%JAVA_EXE% -Xms64M -Xmx512M -cp "mysql-jdbc.jar;Sikuli-X-1.0rc3\Sikuli-
IDE\sikuli-script.jar" org.sikuli.script.SikuliScript run_suite.sikuli

However, it still searches in my C:\Program Files\Sikuli X\libs\ folder
and as a result, it cannot find the libraries.

-- 
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 #208801]: Yet another java.lang.UnsatisfiedLinkError

2012-09-18 Thread Andrew Munro
Question #208801 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/208801

Status: Answered => Open

Andrew Munro is still having a problem:
I removed the duplicate sikuli from my path:

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program
Files\Java\jre6\bin;C:\Program Files\MySQL\MySQL Server
5.5\bin;I:\QA\sikuli\Sikuli-X-1.0rc3\Sikuli-IDE\libs

sikuli_home:

I:\QA\sikuli\Sikuli-X-1.0rc3\Sikuli-IDE\


There is nothing to tell it to search for libs in C: so why is it still 
searching in that directory? Is something specified in 
org.sikuli.script.SikuliScript to tell it to look there?

I tried running the same setup in my C: drive and it works fine. As soon
as I move it to my network drive it breaks.

-- 
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 #208801]: Yet another java.lang.UnsatisfiedLinkError

2012-09-18 Thread Andrew Munro
Question #208801 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/208801

Status: Needs information => Open

Andrew Munro gave more information on the question:
"java.lang.UnsatisfiedLinkError: java.lang.UnsatisfiedLinkError:
C:\Program Files\Sikuli X\libs\Win32Util.dll: Can't find dependent
libraries"

The full stacktrace can be found here: http://pastebin.com/aTKziFEv
but that shouldn't be relevant...

I do not specify anywhere for it to look in C:\Program Files\Sikuli
X\libs\Win32Util.dll.

...

-- 
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 #208801]: Yet another java.lang.UnsatisfiedLinkError

2012-09-18 Thread Andrew Munro
Question #208801 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/208801

Andrew Munro gave more information on the question:
Sorry, I gave the wrong information. My variable is all uppercase for
SIKULI_HOME, not lowercase (SIKULI_HOME = I:\QA\sikuli\Sikuli-X-1.0rc3
\Sikuli-IDE\)

Also, it isn't set to C:\Program Files\Sikuli X\libs\ anywhere in my
environment variables so it must be getting it from somewhere 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 #208801]: Yet another java.lang.UnsatisfiedLinkError

2012-09-19 Thread Andrew Munro
Question #208801 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/208801

Status: Answered => Solved

Andrew Munro confirmed that the question is solved:
Thanks RaiMan, that solved my question.

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

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


Re: [Sikuli-driver] [Question #208801]: Yet another java.lang.UnsatisfiedLinkError

2012-09-19 Thread Andrew Munro
Question #208801 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/208801

Andrew Munro posted a new comment:
**Edit** The solution was specifying the SIKULI_HOME from within my .bat
file. For some reason it was ignoring my env variables.

I'm not quite sure what the issue was as it worked fine in windows 7 but
not in XP. Anyway, working now.

-- 
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 #208801]: Yet another java.lang.UnsatisfiedLinkError

2012-09-19 Thread Andrew Munro
Question #208801 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/208801

Andrew Munro posted a new comment:
Thanks Rai, it's now working across all desired OS's!

A very peculiar issue, I did not realise that it adds the path again
causing me all sorts of headaches. As for the jre issue, I find it works
fine if I specify the correct java path in my env variables. I will
however keep that in mind for the future.

I leave here my final execution code encase it helps someone in the
future:


@echo off

set SIKULI_HOME= path_to_sikuli_root_folder
set PATH=%PATH%;%SIKULI_HOME%libs
set JAVA_EXE="java" // set in env variables or use 
"%PROGRAMFILES%\Java\jre6\bin\java.exe"
if defined PROGRAMFILES(X86) set 
JAVA_EXE="%PROGRAMFILES(X86)%\Java\jre6\bin\java.exe"

%JAVA_EXE% -Xms64M -Xmx512M -cp "mysql-jdbc.jar;Sikuli-X-1.0rc3\Sikuli-
IDE\sikuli-script.jar" org.sikuli.script.SikuliScript SCRIPTNAME.sikuli

This adds external jars to the classpath and executes sikuli using the
main class. You can then use your external jars with sikuli (e.g mysql).

-- 
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 #215748]: i cant get sikuli to download at all...

2012-12-01 Thread andrew burke
New question #215748 on Sikuli:
https://answers.launchpad.net/sikuli/+question/215748

i have checked everything... could i possibly get a troubleshooting list for 
Win7 to recheck with? i am at a total loss here... 

-- 
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 #221900]: Cannot access my Metro application interface

2013-02-14 Thread Andrew Custer
New question #221900 on Sikuli:
https://answers.launchpad.net/sikuli/+question/221900

I am trying to use Sikuli to automate a UI test for a Windows 8 Metro app my 
team is developing. When I attempt to take a screenshot for a click() event, I 
find that I cannot access the UI of the app. I can only see my desktop. The 
Charm bar is not accessible in the screenshot mode, so I don't seem to have a 
way to return to the Start screen. I have tried to work around this by using 
multiple monitors, but when I select the Screenshot icon in the click() event, 
my running Metro app disappears.

Anybody using this tool to test Metro apps that might have a solution?

-- 
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 1199798] [NEW] Command line arguments cut off

2013-07-10 Thread Andrew Ohm
Public bug reported:

Hello,

Sorry if this has been reported or fixed already, but it appears I am
having issues running scripts with a few command line parameters.

For instance:

C:\Windows\system32>c:\Sikuli\Sikuli\sikuli-script.cmd -j6 -r 
c:\Sikuli\test.sikuli --args -w 2 -it 2 -te Cash -sa -c -re
-Xms64M -Xmx512M -Dfile.encoding=UTF-8
-r c:\Sikuli\test.sikuli --args -w 2 -it 2 -te Cash -sa
+++ using as SIKULIX_HOME: c:\Sikuli\Sikuli\

Note the actual command I use is being truncated. This isn't a visual
thing only, those parameters actually were not passed.

What's interesting, is this seems like a maximum character thing, as
opposed to maximum arguments. For instance if I remove the "-te Cash"
part, I get "room" for two extra command line arguments:

C:\Windows\system32>c:\Sikuli\Sikuli\sikuli-script.cmd -j6 -r 
c:\Sikuli\test.sikuli --args -w 2 -it 2 -sa -c -re
-Xms64M -Xmx512M -Dfile.encoding=UTF-8
-r c:\Sikuli\test.sikuli --args -w 2 -it 2 -sa -c -re
+++ using as SIKULIX_HOME: c:\Sikuli\Sikuli\
+++ this Sikuli version is 32-Bit

Could this be fixed for 1.1? If a temporary fix or workaround is
available that I or others who stumble upon this issue have, that'd be
awesome too.

** Affects: sikuli
 Importance: Undecided
 Status: New


** Tags: arguments

** Description changed:

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

Title:
  Command line arguments cut off

Status in Sikuli:
  New

Bug description:
  Hello,

  Sorry if this has been reported or fixed already, but it appears I am
  having issues running scripts with a few command line parameters.

  For instance:

  C:\Windows\system32>c:\Sikuli\Sikuli\sikuli-script.cmd -j6 -r 
c:\Sikuli\test.sikuli --args -w 2 -it 2 -te Cash -sa -c -re
  -Xms64M -Xmx512M -Dfile.encoding=UTF-8
  -r c:\Sikuli\test.sikuli --args -w 2 -it 2 -te Cash -sa
  +++ using as SIKULIX_HOME: c:\Sikuli\Sikuli\

  Note the actual command I use is being truncated. This isn't a visual
  thing only, those parameters actually were not passed.

  What's interesting, is this seems like a maximum character thing, as
  opposed to maximum arguments. For instance if I remove the "-te Cash"
  part, I get "room" for two extra command line arguments:

  C:\Windows\system32>c:\Sikuli\Sikuli\sikuli-script.cmd -j6 -r 
c:\Sikuli\test.sikuli --args -w 2 -it 2 -sa -c -re
  -Xms64M -Xmx512M -Dfile.encoding=UTF-8
  -r c:\Sikuli\test.sikuli --args -w 2 -it 2 -sa -c -re
  +++ using as SIKULIX_HOME: c:\Sikuli\Sikuli\
  +++ this Sikuli version is 32-Bit

  Could this be fixed for 1.1? If a temporary fix or workaround is
  available that I or others who stumble upon this issue have, that'd be
  awesome too.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1199798/+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 1199798] Re: [1.0]Command line arguments cut off

2013-07-10 Thread Andrew Ohm
** Summary changed:

- Command line arguments cut off
+ [1.0]Command line arguments cut off

** Summary changed:

- [1.0]Command line arguments cut off
+ [1.0] Command line arguments cut off

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

Title:
  [1.0] Command line arguments cut off

Status in Sikuli:
  New

Bug description:
  Hello,

  Sorry if this has been reported or fixed already, but it appears I am
  having issues running scripts with a few command line parameters.

  For instance:

  C:\Windows\system32>c:\Sikuli\Sikuli\sikuli-script.cmd -j6 -r 
c:\Sikuli\test.sikuli --args -w 2 -it 2 -te Cash -sa -c -re
  -Xms64M -Xmx512M -Dfile.encoding=UTF-8
  -r c:\Sikuli\test.sikuli --args -w 2 -it 2 -te Cash -sa
  +++ using as SIKULIX_HOME: c:\Sikuli\Sikuli\

  Note the actual command I use is being truncated. This isn't a visual
  thing only, those parameters actually were not passed.

  What's interesting, is this seems like a maximum character thing, as
  opposed to maximum arguments. For instance if I remove the "-te Cash"
  part, I get "room" for two extra command line arguments:

  C:\Windows\system32>c:\Sikuli\Sikuli\sikuli-script.cmd -j6 -r 
c:\Sikuli\test.sikuli --args -w 2 -it 2 -sa -c -re
  -Xms64M -Xmx512M -Dfile.encoding=UTF-8
  -r c:\Sikuli\test.sikuli --args -w 2 -it 2 -sa -c -re
  +++ using as SIKULIX_HOME: c:\Sikuli\Sikuli\
  +++ this Sikuli version is 32-Bit

  Could this be fixed for 1.1? If a temporary fix or workaround is
  available that I or others who stumble upon this issue have, that'd be
  awesome too.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1199798/+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 1199798] Re: [1.0] Command line arguments cut off

2013-07-10 Thread Andrew Ohm
Awesome, a 1.0.1 service update of sorts, a workaround, or using 1.1's
beta which I believe is coming up, are all viable solutions for me.

For the record, your blueprint to have the IDE itself able to work with
Command Line args will be most useful in how we are using Sikuli :)

https://blueprints.launchpad.net/sikuli/+spec/ide-should-handle-command-
line-arguments

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

Title:
  [1.0] Command line arguments cut off

Status in Sikuli:
  Fix Committed

Bug description:
  Hello,

  Sorry if this has been reported or fixed already, but it appears I am
  having issues running scripts with a few command line parameters.

  For instance:

  C:\Windows\system32>c:\Sikuli\Sikuli\sikuli-script.cmd -j6 -r 
c:\Sikuli\test.sikuli --args -w 2 -it 2 -te Cash -sa -c -re
  -Xms64M -Xmx512M -Dfile.encoding=UTF-8
  -r c:\Sikuli\test.sikuli --args -w 2 -it 2 -te Cash -sa
  +++ using as SIKULIX_HOME: c:\Sikuli\Sikuli\

  Note the actual command I use is being truncated. This isn't a visual
  thing only, those parameters actually were not passed.

  What's interesting, is this seems like a maximum character thing, as
  opposed to maximum arguments. For instance if I remove the "-te Cash"
  part, I get "room" for two extra command line arguments:

  C:\Windows\system32>c:\Sikuli\Sikuli\sikuli-script.cmd -j6 -r 
c:\Sikuli\test.sikuli --args -w 2 -it 2 -sa -c -re
  -Xms64M -Xmx512M -Dfile.encoding=UTF-8
  -r c:\Sikuli\test.sikuli --args -w 2 -it 2 -sa -c -re
  +++ using as SIKULIX_HOME: c:\Sikuli\Sikuli\
  +++ this Sikuli version is 32-Bit

  Could this be fixed for 1.1? If a temporary fix or workaround is
  available that I or others who stumble upon this issue have, that'd be
  awesome too.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1199798/+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 #235251]: Unable to find mouse pointer when using wait()

2013-09-06 Thread Andrew Whalen
New question #235251 on Sikuli:
https://answers.launchpad.net/sikuli/+question/235251

Hello,

I am trying to do a match on an image of my mouse pointer. However it is never 
found when using wait(). In the script I am creating the mouse changes from a 
normal pointer to a pointer with an hourglass. I have managed to capture this 
image by using SnagIt, and my script moves the mouse pointer ( using hover() ) 
to a point on the screen where the background matches the background of my 
captured mouse image. However when I run my script and the mouse pointer 
changes from a normal mouse pointer to a busy mouse pointer (with an hourglass) 
Sikuli it not able to find it.

Does Sikuli see the mouse pointer when doing an image search? From the other 
bug reports / questions on this site it wasn't so clear to me.

Thanks!

Andrew

p.s. I'm using Sikuli 1.0.0 32-bit on Windows XP and Java 1.6.

-- 
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 #235251]: Unable to find mouse pointer when using wait()

2013-09-06 Thread Andrew Whalen
Question #235251 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/235251

Status: Answered => Open

Andrew Whalen is still having a problem:
Thanks for your reply Raimund.

I had indeed read in the other questions that the mouse pointer is not
seen when taking a screen capture from the IDE. That is why I used
SnagIt. However when searching for my image from within a script (using
wait() for instance) the image cannot be found. Thus it appears as
though Sikuli is ignoring the mouse pointer when searching the screen
from within a script.

If this is not the expected behaviour I will open a bug.

-- 
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 1221627] [NEW] Unable to find mouse pointer when searching a region

2013-09-06 Thread Andrew Whalen
Public bug reported:

I am trying to do a match on an image of my mouse pointer. However it is
never found when using wait(). In the script I am creating the mouse
changes from a normal pointer to a pointer with an hourglass. I have
managed to capture this image by using SnagIt, and my script moves the
mouse pointer ( using hover() ) to a point on the screen where the
background matches the background of my captured mouse image. However
when I run my script and the mouse pointer changes from a normal mouse
pointer to a busy mouse pointer (with an hourglass) Sikuli it not able
to find it. I expect the mouse to be a visible part of the screen when
searching. If it isn't, I would expect to be able to enable this
functionality. For some applications it is the only way to see that the
application is busy and / or has finished an operation.

When I try to find the mouse pointer using a screen capture tool like
SnagIt and then using the following code, I am able to find a match:

f = Finder("mouse_pointer_zone.png")
img = "busy_icon.png"
f.find(img)
while f.hasNext(): # loop as long there is a first and more matches
print "found: ", f.next() # access the next match in the row

print f.hasNext() # is False, because f is empty now
f.destroy() # release the memory used by finder

So it seems that the problem is localized to the Region.find() method.

I'm using Sikuli 1.0.0 32-bit on Windows XP and Java 1.6.

** Affects: sikuli
 Importance: Undecided
 Status: New


** Tags: mouse pointer screen search

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

Title:
  Unable to find mouse pointer when searching a region

Status in Sikuli:
  New

Bug description:
  I am trying to do a match on an image of my mouse pointer. However it
  is never found when using wait(). In the script I am creating the
  mouse changes from a normal pointer to a pointer with an hourglass. I
  have managed to capture this image by using SnagIt, and my script
  moves the mouse pointer ( using hover() ) to a point on the screen
  where the background matches the background of my captured mouse
  image. However when I run my script and the mouse pointer changes from
  a normal mouse pointer to a busy mouse pointer (with an hourglass)
  Sikuli it not able to find it. I expect the mouse to be a visible part
  of the screen when searching. If it isn't, I would expect to be able
  to enable this functionality. For some applications it is the only way
  to see that the application is busy and / or has finished an
  operation.

  When I try to find the mouse pointer using a screen capture tool like
  SnagIt and then using the following code, I am able to find a match:

  f = Finder("mouse_pointer_zone.png")
  img = "busy_icon.png"
  f.find(img)
  while f.hasNext(): # loop as long there is a first and more matches
  print "found: ", f.next() # access the next match in the row

  print f.hasNext() # is False, because f is empty now
  f.destroy() # release the memory used by finder

  So it seems that the problem is localized to the Region.find() method.

  I'm using Sikuli 1.0.0 32-bit on Windows XP and Java 1.6.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1221627/+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 #235251]: Unable to find mouse pointer when using wait()

2013-09-06 Thread Andrew Whalen
Question #235251 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/235251

Andrew Whalen posted a new comment:
Ok, thanks. Using SnagIt is not an acceptable workaround as I would need
to call SnagIt every 0.5 seconds, make a screenshot, evaluate
screenshot, etc. This is very complex and fragile.

Thanks for making this a feature request.

-- 
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 #238506]: Can ColorImageTarget be used with Sikuli IDE?

2013-11-01 Thread andrew plummer
New question #238506 on Sikuli:
https://answers.launchpad.net/sikuli/+question/238506

Hi I was just trying out Sikuli and I needed to match some icons based on the 
colour, e.g. the icon looks the same but when its green it's active and when 
red it's inactive (green is valid selection, red is invalid)

I saw the Sikuli API has ColorImageTarget available to use, but my programming 
ability is pretty limited so the Sikuli IDE has been very for me.

Is there any way to get access to ColorImageTarget and still use Jython? I did 
have a quick go at setting up Eclipse but it feels a bit beyond my skill level 
at the moment.

Also as some general feedback, I find the SikuliIDE really easy to use and 
intuitive. The only hitch I ran into was the OnChange observe event seems to be 
logged as a bug at the moment. And not being able to match based on color. 
Other than that this is a really awesome automation tool, even for begginers 
like me. 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 #238506]: Can ColorImageTarget be used with Sikuli IDE?

2013-11-01 Thread andrew plummer
Question #238506 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/238506

Description changed to:
Hi I was just trying out Sikuli and I needed to match some icons based
on the colour, e.g. the icon looks the same but when its green it's
active and when red it's inactive (green is valid selection, red is
invalid)

I saw the Sikuli API has ColorImageTarget available to use, but my
programming ability is pretty limited so the Sikuli IDE has been very
helpful for me.

Is there any way to get access to ColorImageTarget and still use Jython?
I did have a quick go at setting up Eclipse but it feels a bit beyond my
skill level at the moment.

Also as some general feedback, I find the SikuliIDE really easy to use
and intuitive. The only hitch I ran into was the OnChange observe event
seems to be logged as a bug at the moment. And not being able to match
based on color. Other than that this is a really awesome automation
tool, even for begginers like me. 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 #238506]: Can ColorImageTarget be used with Sikuli IDE?

2013-11-02 Thread andrew plummer
Question #238506 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/238506

andrew plummer confirmed that the question is solved:
Thanks RaiMan, that solved my question.

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

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


Re: [Sikuli-driver] [Question #238506]: Can ColorImageTarget be used with Sikuli IDE?

2013-11-02 Thread andrew plummer
Question #238506 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/238506

Status: Answered => Solved

andrew plummer confirmed that the question is solved:
Oh right, it is a different thing. Yes I was confused that Sikuli API
and SikuliX were the same thing. I guess I should stick with SikuliX
because it has better documentation. I also like the SikuliIDE because
it makes scripting very easy for beginners.

I think you are probably aware that an option for similarity based on
color is a common suggestion, so +1 to that. And I'm also looking
forward to your bug fix for OnChange in next release :)
https://bugs.launchpad.net/sikuli/+bug/1212706

I am a software tester and only have very basic programming experience,
so far sikuli has been really good and I can see a lot of potential for
running some common test cases.

Thanks for the prompt reply RaiMan

-- 
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 #235426]: [1.0.1] org.sikuli.script.natives.Vision --- is now: org.sikuli.basics.proxies.Vision

2013-11-04 Thread andrew plummer
Question #235426 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/235426

andrew plummer posted a new comment:
Hi Raiman,

would you please be able to update the page here:

http://doc.sikuli.org/globals.html#min-target-size

I think it's meant to be as per this question:
org.sikuli.script.natives.Vision --- is now: org.sikuli.basics.proxies.Vision

Thanks

-- 
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 #242340]: How to handle when there are high similarity scores for enabled and disabled button Patterns?

2014-01-16 Thread Andrew C
New question #242340 on Sikuli:
https://answers.launchpad.net/sikuli/+question/242340

Hello,

I am trying to use sikuli to operate a flash player application. I am coding in 
Java using the sikuli-script.jar from the SikuliX-1.0.1 release.

In this application there is a button that has two states - enabled and 
disabled. My approach is to wait for the button to turn from disabled to 
enabled so I can click on it. 


My code logic follows (in pseudo code) 
if disabled button exists on screen 
{
waitvanish disabled button //wait for the disabled button to disappear
}
wait for enabled button //confirm enabled button exists on screen. 



My problem is that the similarity score for my image of the disabled button is 
extremely high. The score of my collected image of the disabled button to the 
enabled button on screen was 0.987. (The score of the collected image of the 
enabled button to the enabled button on screen was 1.0). In person you can see 
a difference in the two collected images. The shading is darker on the disabled 
button. The enabled button has a pink/red coloured ring and the disabled button 
is more burgundy coloured ring.


I have tried setting the minimum similarity to 0.99, but then the rest of the 
program falls over. 


What else can I do have the enabled and disabled button become more 
distinguished? Is my code logic okay?



thanks in advance
Andrew






-- 
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 #242340]: How to handle when there are high similarity scores for enabled and disabled button Patterns?

2014-01-19 Thread Andrew C
Question #242340 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/242340

Status: Answered => Open

Andrew C is still having a problem:
Hello,

This is the first time that I have used Launchpad. I hope this zip file
reaches you.


cheers,
Andrew



On Fri, Jan 17, 2014 at 3:56 PM, obiwan-92 <
question242...@answers.launchpad.net> wrote:

> Your question #242340 on Sikuli changed:
> https://answers.launchpad.net/sikuli/+question/242340
>
> Status: Open => Answered
>
> obiwan-92 proposed the following answer:
> Hello,
>
> That's strange.
> Normally the color is not relevant during the comparison except if you put
> the similarity to the maximum value.
>
> Can you zip and post the two image of your button ?
>
> Regards.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/sikuli/+question/242340/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/sikuli/+question/242340
>
> You received this question notification because you asked the question.
>

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

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


Re: [Sikuli-driver] [Question #242340]: How to handle when there are high similarity scores for enabled and disabled button Patterns?

2014-01-19 Thread Andrew C
Question #242340 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/242340

Status: Open => Solved

Andrew C confirmed that the question is solved:
Thanks RaiMan, that solved my question.

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

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


Re: [Sikuli-driver] [Question #242340]: How to handle when there are high similarity scores for enabled and disabled button Patterns?

2014-01-19 Thread Andrew C
Question #242340 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/242340

Andrew C posted a new comment:
Thanks for your responses. I'll give that a try sometime.

Since I posted that question, I did some further investigation and found
that the score of the enabled button to the enabled button on screen
would range from 1.0 to 0.98 over time while the application was
run.

To make some progress, I used the lower value as a threshold to polled
the score of the button to determine whether button state had changed.

ie
while (time has not run out)
{
if current button scope >= threshold score //check is current score is in the 
range of the enabled button, exit loop if is
break
else 
thread.sleep(2000); //sleep for 2 seconds
}


Not sure whether this is the best or most robust approach. Any thoughts?

-- 
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 #632761]: TesseractOCR ignoring white-spaces?

2017-05-16 Thread Andrew Grabov
New question #632761 on Sikuli:
https://answers.launchpad.net/sikuli/+question/632761

Hi everyone,

could you please help me to figure out why Tesseract ignores white-spaces?
The text itself is recognised fine, but whitesapce between two words is missing.
I have already increased the space between words, but seems like it just set to 
ignore them.

Can you suggest which tesseract params try to adjust?
I have tried several from here: 
http://www.sk-spell.sk.cx/tesseract-ocr-parameters-in-302-version
but still no success...

Thank you 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 #632761]: TesseractOCR ignoring white-spaces?

2017-05-16 Thread Andrew Grabov
Question #632761 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/632761

Andrew Grabov posted a new comment:
P.S. I am on the latest available version of SikuliX - v1.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 #632761]: TesseractOCR ignoring white-spaces?

2017-05-17 Thread Andrew Grabov
Question #632761 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/632761

Status: Answered => Open

Andrew Grabov is still having a problem:
HI, RaiMan!

Thank you for quick response!
Can you please point me to any code samples of external OCR process usage?
Or I rephrase my question:  what would be the most efficient way of integration 
with external OCR system?

Thank you in advance for your feedback!

-- 
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 #632761]: TesseractOCR ignoring white-spaces?

2017-05-17 Thread Andrew Grabov
Question #632761 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/632761

Status: Answered => Solved

Andrew Grabov confirmed that the question is solved:
Okay, thank you, will try and post here any my findings!

-- 
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 #632761]: TesseractOCR ignoring white-spaces?

2017-05-17 Thread Andrew Grabov
Question #632761 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/632761

Andrew Grabov confirmed that the question is solved:
Thanks RaiMan, that solved my 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 #247422]: How To Resolve "cannot open system clipboard" error

2017-06-03 Thread Andrew Grabov
Question #247422 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/247422

Andrew Grabov posted a new comment:
Hi,

I have almost the same case:  I extensively use the following code while 
processing Excel:
type(Key.INSERT, Key.CTRL)
cellValue = Env.getClipboard().strip()

And at some point (randomly, sometimes after 5 rows, sometimes after 20 rows) I 
am getting the error:
Env.getClipboard: clipboard not available: cannot open system clipboard

I have even added such hook in order to repeat the access to clipboard:
if (cellValue == "") :
print ("HOOK 1: empty")
type(Key.ESC)
type(Key.INSERT, Key.CTRL)
cellValue = Env.getClipboard().strip()

Probably it helps but at some point on second attempt to access
clipboard it stops working as well.

In case there is no possibility to access Excel file programmatically,
is it possible to somehow solve the error, maybe by implementing some
workaround?


I have searched extensively this forum and internet for this error, but beside 
the following topic didn't find anything helpful:
"Using the native getClipboard method in eclipse"
https://answers.launchpad.net/sikuli/+question/170984


Environment:
IDE: Sikli 1.1.1 (and also tried with 1.1.2)
OS: Windows 7 (64-bit)
Java 8 x64 b131

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


[Sikuli-driver] [Bug 1311031] Re: [1.0.1] crash "cannot open system clipboard" using getClipboard()

2017-06-03 Thread Andrew Grabov
Hi RaiMan,

is it any update with this issue?

Maybe you could suggest any temporary workarounds to this? I am fine
with having separate implementation in Java, just give please any input
for the issue.

Having this issues with versions 1.1.1 (and 1.1.2-20170528.124903-28 as
well).

Thank you!

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

Title:
  [1.0.1] crash "cannot open system clipboard" using getClipboard()

Status in Sikuli:
  In Progress

Bug description:
  Hi,
  I am using the following code extensively to copy the contents of clipboard 
into a variable:

  uid = Env.getClipboard().strip()
  and
  row = int (Env.getClipboard())

  In the earlier version of Sikuli, the following error used to
  occasionally occur:

  [error] java.lang.IllegalStateException ( java.lang.IllegalStateException: 
cannot open system clipboard )
  [error] --- Traceback --- error source first line: module ( function ) 
statement 176: main ( open_Excel ) uid = Env.getClipboard().strip()
  [error] --- Traceback --- end --

  When this error occurs, I used to just re-run the script and the
  script would run fine.

  But now, after upgrading to Sikuli 1.0.1, the frequency of this error
  has increased and re-running the script is not helping. Could you
  please let me me know if there is any other efficient way to get this
  done.

  This is my operating environment:
  IDE: Sikli 1.0.1
  OS: Windows 7 (64-bit)
  Java 7 (Earlier I was using Java 6. This error was not frequent then.)

  Thanks,
  Rafiq

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1311031/+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 #632761]: TesseractOCR ignoring white-spaces?

2017-06-03 Thread Andrew Grabov
Question #632761 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/632761

Andrew Grabov posted a new comment:
Just some update on this topic,

so I was able to connect with the external Tesseract and I would say
that it works absolutely fine!

I haven't noticed any speed issues of Sikulx script processing, maybe
because the laptop that runs script is pretty powerful and has SSD
drive, thus operations with files don't have noticeable effect on
performance.

As per OCR quality: it is noticeably better. Basically I have compiled
both versions (3.05 and 4), and both work fine. What is good that once
you have separate installation of Teserract you can have full control
over it.

And some code snippits that responsible for the texts extraction from
the image:

##

TESSERACT_EXEC = "\"C:\\Program Files\\tesseract3\\tesseractmain.exe\"";
TESSERACT_TESSDATA = "\"C:\\Program Files\\tesseract3\\tessdata\"";

def getText(region):
pathToImg = Screen().capture(region).getFilename()
output = run(TESSERACT_EXEC + " " + pathToImg + " " + pathToImg + " " + 
"--tessdata-dir " + TESSERACT_TESSDATA)
return (readFile(pathToImg + ".txt"))


def readFile(pathToFile):
with open(pathToFile, 'r') as file:
#return file.read()
return file.read().replace('\n', '')   

##

Works like a charm! ;)

-- 
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 #247422]: How To Resolve "cannot open system clipboard" error

2017-06-04 Thread Andrew Grabov
Question #247422 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/247422

Andrew Grabov posted a new comment:
Not sure how, but after reboot it was able to process all 230 rows without 
throwing the error...
No code changes were made...

-- 
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 1777642] [NEW] Unable To Create Executable JAR

2018-06-19 Thread Andrew Martin
Public bug reported:

Whenever I try to create an Executable Jar I get the error:
[error] FileManager: makingScriptJar: sikulixapi.jar missing. run setup first!

So I downloaded the sikulixapi from here: 
https://mvnrepository.com/artifact/com.sikulix/sikulixapi/1.1.1
Put it in the same folder and ran it and tried again but I am getting the same 
error message.

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

Title:
  Unable To Create Executable JAR

Status in Sikuli:
  New

Bug description:
  Whenever I try to create an Executable Jar I get the error:
  [error] FileManager: makingScriptJar: sikulixapi.jar missing. run setup first!

  So I downloaded the sikulixapi from here: 
https://mvnrepository.com/artifact/com.sikulix/sikulixapi/1.1.1
  Put it in the same folder and ran it and tried again but I am getting the 
same error message.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1777642/+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 #670313]: Unable To Create Executable JAR

2018-06-19 Thread Andrew Martin
New question #670313 on Sikuli:
https://answers.launchpad.net/sikuli/+question/670313

Whenever I try to create an Executable Jar I get the error:
[error] FileManager: makingScriptJar: sikulixapi.jar missing. run setup first!

So I downloaded the sikulixapi from here: 
https://mvnrepository.com/artifact/com.sikulix/sikulixapi/1.1.1
Put it in the same folder and ran it and tried again but I am getting the same 
error message.

-- 
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 #670313]: Unable To Create Executable JAR

2018-06-19 Thread Andrew Martin
Question #670313 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/670313

Status: Needs information => Open

Andrew Martin gave more information on the question:
I have created a simple Sikuli script and when I try to Export it as a runnable 
JAR so that it can be used on another machine. I get the error 
[error] FileManager: makingScriptJar: sikulixapi.jar missing. run setup first!
I have tried to export some other example scripts and I am getting the same 
error message.
I have tried downloading the sikulixapi from here: 
https://mvnrepository.com/artifact/com.sikulix/sikulixapi/1.1.1
and I have tried re-installing Sikuli and I get the same error message.

How can I resolve this error so that I can export my script as a
standalone runnable JAR.

-- 
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 #670313]: Unable To Create Executable JAR

2018-06-19 Thread Andrew Martin
Question #670313 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/670313

Status: Answered => Solved

Andrew Martin confirmed that the question is solved:
I have installed it with Option 2 and it works now 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 #696244]: Cant Start Sikulix on a especcific machine

2021-03-26 Thread Andrew Metzger
Question #696244 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/696244

Andrew Metzger posted a new comment:
Hi Raimund,

Same issue occurs with just one monitor (built into laptop). Here is the
log:


PS C:\Users\Andrew\Documents\GitHub\my-tests.sikuli> java -jar 
sikulixide-2.0.5.jar -v -c
[DEBUG]startUp: IDE: Running: 
C:\Users\Andrew\Documents\GitHub\my-tests.sikuli\sikulixide-2.0.5.jar
[DEBUG]startUp: IDE: AppData: C:\Users\Andrew\AppData\Roaming\Sikulix
[DEBUG]startUp: IDE: starting with classpath: sikulixide-2.0.5.jar ...
[DEBUG]startUp: IDE: no extensions.txt nor valid content
[error] FileManager: writeStringToFile: did not work: 
C:\Users\Andrew\AppData\Roaming\Sikulix\SikulixStore\lastUsedJar.txt
C:\Users\Andrew\AppData\Roaming\Sikulix\SikulixStore\lastUsedJar.txt (The 
system cannot find the path specified)
[165 debug] RunTime:temp folder ok: 
C:\Users\Andrew\AppData\Local\Temp\Sikulix_1833801853
Options: *** options dump
Options: testing =
Options: OptionsFile = 
C:\Users\Andrew\AppData\Roaming\Sikulix\SikulixStore\SikulixOptions.txt
Options: *** options dump end
* show environment for 2.0.5 API
user.home: C:\Users\Andrew
work dir: C:\Users\Andrew\Documents\GitHub\my-tests.sikuli
running on Windows 10.0 from a jar
running Java AdoptOpenJDK 16+36
java.io.tmpdir: C:\Users\Andrew\AppData\Local\Temp
app data folder: C:\Users\Andrew\AppData\Roaming\Sikulix
executing jar: 
C:\Users\Andrew\Documents\GitHub\my-tests.sikuli\sikulixide-2.0.5.jar
*** classpath dump sikulix
  0: sikulixide-2.0.5.jar
*** classpath dump end
* show environment end
[DEBUG]startUp: IDE: *** leaving start
[38 debug] Sikulix: starting IDE
[55 debug] RunTime:temp folder ok: 
C:\Users\Andrew\AppData\Local\Temp\Sikulix_951871647
Options: *** options dump
Options: testing =
Options: OptionsFile = 
C:\Users\Andrew\AppData\Roaming\Sikulix\SikulixStore\SikulixOptions.txt
Options: *** options dump end
* show environment for 2.0.5 IDE
user.home: C:\Users\Andrew
work dir: C:\Users\Andrew\Documents\GitHub\my-tests.sikuli
running on Windows 10.0 from a jar
running Java AdoptOpenJDK 16+36
java.io.tmpdir: C:\Users\Andrew\AppData\Local\Temp
app data folder: C:\Users\Andrew\AppData\Roaming\Sikulix
executing jar: 
C:\Users\Andrew\Documents\GitHub\my-tests.sikuli\sikulixide-2.0.5.jar
*** classpath dump sikulix
  0: C:\Users\Andrew\Documents\GitHub\my-tests.sikuli\sikulixide-2.0.5.jar
  1: sikulixide-2.0.5.jar
*** classpath dump end
* show environment end
[172 debug] IDE: running with Locale: en_US
[DEBUG]startUp: IDE: --- Sikuli parameters ---
[DEBUG]startUp: IDE: 1: -v
[DEBUG]startUp: IDE: 2: -c
[189 debug] HotkeyManager: add Capture Hotkey: CTRL+SHIFT 2 (50, 3)
[303 debug] HotkeyManager: add Abort Hotkey: ALT+SHIFT C (67, 9)
[304 debug] IDE: Init ScriptingSupport
[307 debug] IDESupport: enter
[2120 debug] Runner: added: PowerShell [ps1] text/powershell
[2121 debug] Runner: added: Sikulix [] directory/sikulix
[2122 debug] Runner: added: NetworkRunner [] NET
[2122 debug] Runner: added: SikulixJar [jar] text/jar
[2123 debug] Runner: init: class 
org.sikuli.script.runners.AbstractLocalFileScriptRunner: warning: not possible
[2124 debug] Runner: added: PackedSikulix [skl] text/skl
[2124 debug] Runner: added: PackedSikulix [zip] application/zip
[2124 debug] Runner: added: SikulixExecutableJar [executablejar] text/jar
[2125 debug] Runner: added: Text [txt] text/text
[2132 debug] Runner: added: Jython [py] text/jython
[2132 debug] IDESupport: added: Jython
[2132 debug] IDESupport: added: Text
[2133 debug] IDESupport: exit: defaultrunner: Jython (py)
[2136 debug] IDE: Reading Preferences
[2137 debug] IDE: Adding components to window
[2144 debug] IDE: [I18N] menuRecent
[2159 debug] IDE: [I18N] menuToolAndroid
[2162 debug] IDE: creating tabbed editor
[2260 debug] IDE: creating message area
[2336 debug] IDE: creating combined work window
[2339 debug] IDE: Putting all together
[2340 debug] IDE: Putting all together - after main pane
[2418 debug] IDE: Putting all together - after toolbar
[2422 debug] IDE: Putting all together - before layout
[2470 debug] IDE: Putting all together - after layout
[2473 debug] IDE: Putting all together - Restore last Session
[2474 debug] IDE: Restore scripts from last session
[2474 debug] IDE: Restore Sikuli script: 
C:\Users\Andrew\Documents\GitHub\my-tests.sikuli
[2499 debug] EditorPane: created 1616768525284
[2509 debug] EditorPane: loadfile: 
C:\Users\Andrew\Documents\GitHub\my-tests.sikuli
[2514 debug] JythonRunner: starting initialization
[2519 debug] RunTime:resourceLocation: (class 
org.sikuli.script.support.RunTime) /Lib
[2520 debug] RunTime:resourceList: having jar: 
jar:file:/C:/Users/Andrew/Documents/GitHub/my-tests.sikuli/sikulixide-2.0.5.jar!/Lib
[2559 debug] EditorPane: InitTab: (text/jython)
[2561 debug] SikuliEditorKit.read
[2621 debug] ImagePath: new BundlePath: 
C:\Users\Andrew\Documents\GitHub\my-tests.sikuli
[2621 debug] EditorPane: setFiles: for:

Re: [Sikuli-driver] [Question #696244]: Cant Start Sikulix on a especcific machine

2021-03-26 Thread Andrew Metzger
Question #696244 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/696244

Andrew Metzger posted a new comment:
Hello Raimund,

I have the same issue as Vitor describes. Hopefully this information
will help.

On my Windows 10 machine, my log launching the SikuliX IDE 2.0.5 looks
very similar, and gets stuck at the loading banner. I have tested IDE
2.0.5 with the bundled Jython 2.7.2 and also  with the external Jython
JAR provided at https://repo1.cmaven.org/maven2/org/python/jython-
standalone/2.7.2/jython-standalone-2.7.2.jar.

Using AdoptOenJDK 8, 11, or 16 makes no difference. Removing and
reinstalling Java does not help. Between tests, I remove the following
SikuliX artifacts to "reset" the IDE:

Registry keyus: HKCU:\Software\JavaSoft\Prefs\org\sikuli\ 
File: %TEMP%\s_i_k_u_l_i-ide-isrunning
Folder: %TEMP%\Sikulix-*\ (recursive)
Folder: %APPDATA%\Sikulix\ (recursive)

and still I have the issue Vitor described.

Here is a log from command "java -jar sikulixide-2.0.5.jar -v -c":

PS C:\Users\Andrew\Documents\GitHub\my-tests.sikuli> java -jar 
sikulixide-2.0.5.jar -v -c
[DEBUG]startUp: IDE: Running: 
C:\Users\Andrew\Documents\GitHub\my-tests.sikuli\sikulixide-2.0.5.jar
[DEBUG]startUp: IDE: AppData: C:\Users\Andrew\AppData\Roaming\Sikulix
[DEBUG]startUp: IDE: starting with classpath: sikulixide-2.0.5.jar ...
[DEBUG]startUp: IDE: no extensions.txt nor valid content
[error] FileManager: writeStringToFile: did not work: 
C:\Users\Andrew\AppData\Roaming\Sikulix\SikulixStore\lastUsedJar.txt
C:\Users\Andrew\AppData\Roaming\Sikulix\SikulixStore\lastUsedJar.txt (The 
system cannot find the path specified)
[171 debug] RunTime:temp folder ok: 
C:\Users\Andrew\AppData\Local\Temp\Sikulix_986341258
Options: *** options dump
Options: testing =
Options: OptionsFile = 
C:\Users\Andrew\AppData\Roaming\Sikulix\SikulixStore\SikulixOptions.txt
Options: *** options dump end
* show environment for 2.0.5 API
user.home: C:\Users\Andrew
work dir: C:\Users\Andrew\Documents\GitHub\my-tests.sikuli
running on Windows 10.0 from a jar
running Java AdoptOpenJDK 16+36
java.io.tmpdir: C:\Users\Andrew\AppData\Local\Temp
app data folder: C:\Users\Andrew\AppData\Roaming\Sikulix
executing jar: 
C:\Users\Andrew\Documents\GitHub\my-tests.sikuli\sikulixide-2.0.5.jar
*** classpath dump sikulix
  0: sikulixide-2.0.5.jar
*** classpath dump end
* show environment end
[DEBUG]startUp: IDE: *** leaving start
[39 debug] Sikulix: starting IDE
[58 debug] RunTime:temp folder ok: 
C:\Users\Andrew\AppData\Local\Temp\Sikulix_1281421063
Options: *** options dump
Options: testing =
Options: OptionsFile = 
C:\Users\Andrew\AppData\Roaming\Sikulix\SikulixStore\SikulixOptions.txt
Options: *** options dump end
* show environment for 2.0.5 IDE
user.home: C:\Users\Andrew
work dir: C:\Users\Andrew\Documents\GitHub\my-tests.sikuli
running on Windows 10.0 from a jar
running Java AdoptOpenJDK 16+36
java.io.tmpdir: C:\Users\Andrew\AppData\Local\Temp
app data folder: C:\Users\Andrew\AppData\Roaming\Sikulix
executing jar: 
C:\Users\Andrew\Documents\GitHub\my-tests.sikuli\sikulixide-2.0.5.jar
*** classpath dump sikulix
  0: C:\Users\Andrew\Documents\GitHub\my-tests.sikuli\sikulixide-2.0.5.jar
  1: sikulixide-2.0.5.jar
*** classpath dump end
* show environment end
[283 debug] IDE: running with Locale: en_US
[DEBUG]startUp: IDE: --- Sikuli parameters ---
[DEBUG]startUp: IDE: 1: -v
[DEBUG]startUp: IDE: 2: -c
[295 debug] HotkeyManager: add Capture Hotkey: CTRL+SHIFT 2 (50, 3)
[397 debug] HotkeyManager: add Abort Hotkey: ALT+SHIFT C (67, 9)
[398 debug] IDE: Init ScriptingSupport
[405 debug] IDESupport: enter
[2109 debug] Runner: added: NetworkRunner [] NET
[2115 debug] Runner: added: Jython [py] text/jython
[2116 debug] Runner: init: class 
org.sikuli.script.runners.AbstractLocalFileScriptRunner: warning: not possible
[2117 debug] Runner: added: SikulixJar [jar] text/jar
[2117 debug] Runner: added: PackedSikulix [skl] text/skl
[2118 debug] Runner: added: Text [txt] text/text
[2119 debug] Runner: added: SikulixExecutableJar [executablejar] text/jar
[2119 debug] Runner: added: PowerShell [ps1] text/powershell
[2120 debug] Runner: added: PackedSikulix [zip] application/zip
[2120 debug] Runner: added: Sikulix [] directory/sikulix
[2120 debug] IDESupport: added: Jython
[2121 debug] IDESupport: added: Text
[2122 debug] IDESupport: exit: defaultrunner: Jython (py)
[2124 debug] IDE: Reading Preferences
[2124 debug] IDE: Adding components to window
[2133 debug] IDE: [I18N] menuRecent
[2148 debug] IDE: [I18N] menuToolAndroid
[2152 debug] IDE: creating tabbed editor
[2256 debug] IDE: creating message area
[2324 debug] IDE: creating combined work window
[2327 debug] IDE: Putting all together
[2328 debug] IDE: Putting all together - after main pane
[2401 debug] IDE: Putting all together - after toolbar
[2404 debug] IDE: Putting all together - before layout
[2454 debug] IDE: Putting all together - after layout
[2456 

Re: [Sikuli-driver] [Question #696244]: [2.0.5] Windows 10: Cant Start Sikulix on a specific machine with 2 monitors (one hiRes)

2021-03-26 Thread Andrew Metzger
Question #696244 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/696244

Andrew Metzger posted a new comment:
Thank you!

Renaming the "my-tests.sikuli" folder and moving the JAR allows me to
launch an empty IDE. No need to remove the second monitor. Maybe
something in my script causes the issues?

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

___
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 #695801]: Help with Random

2021-09-11 Thread Andrew Crowdy
Question #695801 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/695801

Andrew Crowdy posted a new comment:
You can explore online casinos to find good examples of working with
random numbers. [url=https://gamblerschoice.net/free-slots/3-reel/]Best
Free 3 Reel Slot Games For Canada Players[/url] handle their randomizers
perfectly.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

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


  1   2   >