Re: [Sikuli-driver] [Question #254203]: Hotkey Listener overrides hotkey use (ctrl-c)

2014-09-09 Thread Max
Question #254203 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/254203

Max posted a new comment:
I tried the first one first, didn't work so well, I will check again
with both solutions when I get back from work or maybe at lunch. It
could possibly be a little problematic because I'm in my example
actually physically pressing ctrl + c the same time, I think that's
maybe why the delays and timing seem so critical. I'm on Ubuntu 14.04.

-- 
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 #254203]: Hotkey Listener overrides hotkey use (ctrl-c)

2014-09-09 Thread RaiMan
Question #254203 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/254203

RaiMan posted a new comment:
ok understood.

then this should help:

wait(0.3f); // or an even higher value 
type("c", Key.CTRL)

or
wait(0.3f); // or an even higher value 
key.Down(Key.CTRL)
wait(0.1f)
type("c")
keyUp()

I doubt that the "inner" extra waits are needed.

sorry for the wrong wait values: a float as seconds is needed.

-- 
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 #254203]: Hotkey Listener overrides hotkey use (ctrl-c)

2014-09-09 Thread Max
Question #254203 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/254203

Max posted a new comment:
Wow.. I don't know why I thought it didn't work, it works perfectly,
better than my robot solution (using your first suggestion). Maybe I
used the wait function wrong the first time or something. Thanks a lot!

-- 
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 #254251]: Calling multiple bat files from one bat file

2014-09-09 Thread Ned
New question #254251 on Sikuli:
https://answers.launchpad.net/sikuli/+question/254251

I have four working bat files that look like just like this apart from the 
filenames:

start /i /b /w  C:\SikuliX\runIDE.cmd -r "C:\AssemblaSVN\testingwc\trunk\Sikuli 
Scripts\Ned\Tests\Retail\Data Conversion\CTFileMissing.sikuli" > 
"C:\AssemblaSVN\testingwc\trunk\Sikuli Scripts\Ned\Tests\logging\Retail\Data 
Conversion\CTFileMissing.txt"

These work just fine for me individually but if I try to call all four together 
with another bat file that looks like this:

call "MissingInfo.bat"
call "CTFileMissing.bat"
call "InvalidAPIURL.bat"
call "DBAlreadyExists.bat"


EXIT

It always exits after the first call. I don't have EXIT in any of the 
individual bats.
Any help would be appreciated

Regards,
Ned

-- 
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 #254231]: I am unable to use my own libVision.so (Linux)

2014-09-09 Thread David Inman
Question #254231 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/254231

Status: Answered => Solved

David Inman confirmed that the question is solved:
1. If 1.1.0 already has Ruby support, that would be great.  JRuby support, 
however, does not work for me.  I use it sometimes,
but its not viable for some applications - the VM can be both slow and fast, 
not to mention a perpetual list of problems with gems that include C 
extensions.  Ideally I would like both.  Are both JRuby and Ruby supported (may 
in the fashion of the sikuli-server gem)?

2. I was using 1.0.1 and had some luck with libVision.so there.
However, 1.1.0-Beta4 is what I'm trying to use now because of its
feature set.  When I started modifying the sikuli-server gem to support
more commands I quickly gained appreciation for what I would need and
found 1.1.0 desirable.  I'm able to get the 1.1.0-Beta4 IDE to start,
but it does not work with libVision.so.

3. I did not know.  I wish I did.  I'll see if I can find the Ruby-
related code.

RE: helping.  I'm thrilled to help, but I'm quite frustrated with the build 
system, I cannot tell what I'm doing wrong versus what might be broken due to 
development changes.  I really don't know what commands I'm supposed to run to 
get a libVision.so to work.  I have read suggestions on this site and via 
google, but when I try the suggestions I simply get too many errors, don't
know if they are real,  and the result does not work.  I don't know enough 
about the maven targets (or maven) to address only what I need.  If I were to 
be given a little direction on how libVision is incorporated, I think I could 
fix what is broken either in my code or Sikuli.

Thanks,
Dave

-- 
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 #254228]: missing sources and javadocs for version 1.0.1 --- recommendation: switch to version 1.1.0

2014-09-09 Thread John Henckel
Question #254228 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/254228

Status: Answered => Solved

John Henckel confirmed that the question is solved:
Ok, thanks. I will start using 1.1 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 #254228]: missing sources and javadocs for version 1.0.1 --- recommendation: switch to version 1.1.0

2014-09-09 Thread John Henckel
Question #254228 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/254228

John Henckel 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 #254225]: Java source code for Sikuli 1.0.1

2014-09-09 Thread John Henckel
Question #254225 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/254225

Status: Answered => Solved

John Henckel 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 #254251]: Calling multiple bat files from one bat file

2014-09-09 Thread RaiMan
Question #254251 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/254251

Status: Open => Answered

RaiMan proposed the following answer:
no idea.

but what if you use

start /i /b /w

instead of call

-- 
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 #254231]: I am unable to use my own libVision.so (Linux)

2014-09-09 Thread RaiMan
Question #254231 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/254231

RaiMan posted a new comment:
at 1: of course it is "only" JRuby, that is supported in version 1.1.0
(any scripting language, that can be easily integrated must be based on
Java and cannot have any C-based elements that are not integrated via
JNI/JNA)

at 2: the libVisionProxy.so from 1.0.1 is not usable in 1.1.0.
If you worked with the Linux Supplemental package: 
Here is a version for 1.1.0:
https://dl.dropboxusercontent.com/u/42895525/SikuliX-1.1/SikuliX-1.1.0-Beta-Supplemental-Linux.zip
Carefully read through the contained README
>From tomorrow on it will be available at the nightly build page as well

at 3: JRuby related code:
org.sikuli.scriptrunner.JRubyScriptRunner
/JRubyGem/lib

at RE:
If you do not want to change anything on the Java level, then you do not have 
the need to fully understand the Maven build of the project for now. In a few 
days I will have the usage docs of the github project up to date, then you 
might try again.
The included native stuff (for Linux it is only libVisionProxy and in some 
cases the JXGrabKey lib) is not built in the Maven run of the project. This 
currently only includes the packaging of the prebuilt libraries into the 
sikulixsetup.jar.
Prebuilt means: I am doing this on my machines offline and copy the libs to the 
Maven project.
So for now it is sufficient for you to take the stuff from nightly build.
Since I am planning to eliminate the native stuff anyway, I will not document 
the native build for Mac and Windows.
The only needed native build is that for libVisionProxy on Linux - which is the 
mentioned supplemental package.

-- 
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 #254231]: I am unable to use my own libVision.so (Linux)

2014-09-09 Thread David Inman
Question #254231 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/254231

David Inman posted a new comment:
Thank you for supplemental zip file.   I'll see if it works for me.  I
was trying to use my own which uses an rpath properly to reference a
tesseract trained by me.  I did not try to use the the libVisionProxy of
1.0.1 in 1.1.0 - I assumed it would not 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 #254228]: missing sources and javadocs for version 1.0.1 --- recommendation: switch to version 1.1.0

2014-09-09 Thread John Henckel
Question #254228 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/254228

John Henckel posted a new comment:
I tried to use 1.1.0-Beta4 but it is very unstable.  When I download the
sikulixsetup-1.1.0-Beta4.jar and run it, I get error below


[debug (9/9/14 10:34:27 AM)] Sikulix: testSetup: Finder setup with image worked
[error (9/9/14 10:34:27 AM)] FileManager: createTempFile: IOException: 
c:\tmp\Sikulix;sikuli-1256.png
[error (9/9/14 10:34:27 AM)] RunSetup: null
[debug (9/9/14 10:34:27 AM)] RunSetup: 
popError: 
Something serious happened! Sikuli not useable!
Check the error log at C:\dev\Sikuli-1.1\SikuliX-1.1.0-Beta4-SetupLog.txt-
---
[error (9/9/14 10:34:40 AM)] RunSetup: Functional test Java-API did not work
[error (9/9/14 10:34:40 AM)] RunSetup: ... terminated abnormally :-(
[debug (9/9/14 10:34:40 AM)] RunSetup: 
popError: 
Something serious happened! Sikuli not useable!
Check the error log at C:\dev\Sikuli-1.1\SikuliX-1.1.0-Beta4-SetupLog.txt


When I try to use the sikulixapi.jar directly I get errors such as below

Unhandled exception
Type=Segmentation error vmState=0x0004
J9Generic_Signal_Number=0004 ExceptionCode=c005 
ExceptionAddress=6C1AF5F1 ContextFlags=0001007f
Handler1=02479A50 Handler2=002095C0 InaccessibleAddress=
EDI=0251FCC8 ESI=0020 EAX=024C13E0 EBX=
ECX=FFFDA000 EDX=6B3487F4
EIP=6C1AF5F1 ESP=0251FBC8 EBP=0251FCC0 EFLAGS=00210216
Module=C:\dev\Sikuli\libs\VisionProxy.dll
Module_base_address=6C17 Offset_in_DLL=0003f5f1
Target=2_40_20080816_022093_lHdSMr (Windows Vista 6.1 build 7601 Service Pack 1)
CPU=x86 (4 logical CPUs) (0x RAM)

-- 
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 #254228]: missing sources and javadocs for version 1.0.1 --- recommendation: switch to version 1.1.0

2014-09-09 Thread John Henckel
Question #254228 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/254228

John Henckel posted a new comment:
I'm going back to 1.0.1 -- at least it runs, even though the source and
javadoc doesn't match.

-- 
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 #254266]: CTRL +CLick does not work with Google chrome

2014-09-09 Thread vignesh
Question #254266 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/254266

Description changed to:
i have flash based simulation application.i need to ctrl click on an image.
i tried 

1.s1.keydown(Key.CTRL) this works good only with IE and firefox versions
but it does not work well with Google Chrome.

is there a solution for this

I use Windows 7 operating system and Google chrome latest version,Is there a 
issue with Python API not recognizing
Google chrome 

Thanks,
vignesh

-- 
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 #254266]: CTRL +CLick does not work with Google chrome

2014-09-09 Thread vignesh
New question #254266 on Sikuli:
https://answers.launchpad.net/sikuli/+question/254266

i have flash based simulation application.i need to ctrl click on an image.
i tried 

1.s1.keydown(Key.CTRL) this works good only with IE and firefox but it does not 
work well with Google Chrome.

is there a solution for this 

Thanks,
vignesh

-- 
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 #254275]: To fetch data in sikuli from CSV file

2014-09-09 Thread Anurag
New question #254275 on Sikuli:
https://answers.launchpad.net/sikuli/+question/254275

i already write the script using images and all, and in this i am fetching data 
from csv file. and it working fine for data only in one coloumn. now i have to 
expand it so that it take data from other coloumns also.
out = open("c:\\temp1\\et.csv","rb")
data = csv.reader(out)

data=[row[1] for row in data]
print(data[0]) and all

so please help me how can 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 #254228]: missing sources and javadocs for version 1.0.1 --- recommendation: switch to version 1.1.0

2014-09-09 Thread RaiMan
Question #254228 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/254228

RaiMan posted a new comment:
sorry for the stupid bug in setup. is fixed now.

build: 2014-09-10

-- 
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 #254275]: To fetch data in sikuli from CSV file

2014-09-09 Thread Eugene S
Question #254275 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/254275

Status: Open => Answered

Eugene S proposed the following answer:
Hi,

The csv reader will work like this:


import csv

input = open('fileName.csv', 'rb')

for row in csv.reader(input):
firstColumnValue = row[0]
secondColumnValue = row[1]
thirdColumnValue = row[2]


Cheers,
Eugene

-- 
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 #254266]: CTRL +CLick does not work with Google chrome

2014-09-09 Thread Eugene S
Question #254266 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/254266

Status: Open => Answered

Eugene S proposed the following answer:
Hi,

-- i need to ctrl click on an image.
It's not so clear what do you mean when you say that. Can you please clarify 
what: ctrl click on image means. You mean ctrl as a keyboard button?

-- Python API not recognizing Google chrome
This is not a consideration since Sikuli recognizes whatever there is on the 
screen, regardless of what or how the content is being generated.

Generally, to hit a button (press and release) you should use:
type(Key.CTRL)


Eugene

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