Re: [Sikuli-driver] [Question #185973]: Not working in Ubuntu

2012-01-27 Thread RaiMan
Question #185973 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/185973

Status: Open = Answered

RaiMan proposed the following answer:
I am not sure, but using apt-get does not install the newest version of
Sikuli. The package behind is someone else's work and I am not sure,
that it is up to date.

Jython 2.5.2 is bundled with Sikuli (it does not use a Jython installed 
separately) and the newest version X-1.0rc3 of Sikuli you can download from 
Sikuli's homepage.
As stated there, you need wmctrl and OpenCV 2.1 (libcv2.1, libcvaux2.1, 
libhighgui2.1) installed (OpenCV 2.2 should work as well). 

Be sure, to have the newest Java JRE 6 installed and using the correct
version of Sikuli (32Bit/64Bit).

-- 
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 #185791]: How to run Sikuli On Virtual Machines

2012-01-27 Thread RaiMan
Question #185791 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/185791

RaiMan posted a new comment:
@ anmol 
--- now what i have done is made a c++ program that will move the mouse pointer 
 ...
This could have been done in in the Sikuli script itself using sub processing 
or with standalone script, running in parallel.

-- 
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 #185791]: How to run Sikuli On Virtual Machines

2012-01-27 Thread RaiMan
Question #185791 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/185791

RaiMan posted a new comment:
Sorry, forgot to mention: only for demo purposes.

For real life, this would be enough:

off = 1
while True:
current = Env.getMouseLocation()
x = current.x
wait(30) # or whatever needed
off *= -1
go = current.offset(off, 0)
hover(go)

But to end it, you have to kill the process.

-- 
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 #185989]: Change default image path (for saving screenshots)

2012-01-27 Thread RaiMan
Question #185989 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/185989

Status: Open = Answered

RaiMan proposed the following answer:
Not a feature yet. Feel free to post a request bug.

When working with an image repository, I usually have a naming
convention for my images and use one .sikuli to function as the repo
manager and use the import feature to make the images available.

another possibility is to generally use variables for the images, so the

# image_repository.sikuli contains
img1 = some-image.png
img2 = some-image.png

and in your scripts you say:

from image_repository import *
find(img1)

This moves the image naming convention to the variable names.

-- 
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 #185989]: Change default image path (for saving screenshots)

2012-01-27 Thread RaiMan
Question #185989 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/185989

RaiMan posted a new comment:
@ Harry
Sorry, I think I was wrong. It was Srini's way to reference another one of your 
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 #185989]: Change default image path (for saving screenshots)

2012-01-27 Thread RaiMan
Question #185989 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/185989

RaiMan posted a new comment:
@ Harry
when manipulating a question, you should subscribe to it ;-)

-- 
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 #186002]: Extracting from text file and writing the same in to the application filelds

2012-01-27 Thread shankar ganesh
New question #186002 on Sikuli:
https://answers.launchpad.net/sikuli/+question/186002

I am testing the POS device applicaion through emulator in which i have to give 
some input fields like first name,middle name,lastname, DOB,address etc.whether 
the required inputs can be feeded to the text file, whehter sikuli can be able 
to fetch the data from the text file and enter the same fields in the 
application.whether it is possible.If so can some one give me sample code 
please.

Awaiting for your valuable response

-- 
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 #186002]: Extracting from text file and writing the same in to the application filelds

2012-01-27 Thread RaiMan
Question #186002 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/186002

Status: Open = Answered

RaiMan proposed the following answer:
If you are working with Sikuli IDE, have a look at the standard Python
file handling features.

If you are using Java: you should know, how to read and write files ;-)

-- 
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 #186002]: Extracting from text file and writing the same in to the application filelds

2012-01-27 Thread shankar ganesh
Question #186002 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/186002

Status: Answered = Open

shankar ganesh is still having a problem:
i am using sikuli X-1.Orc3 and  i am not aware of sikuli IDE...cn u
please give me some links to learn about python file handling features
it will be help ful and also above scenario will work only in sikuli
IDE...

awating for your valuable response.

-- 
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 #186002]: Extracting from text file and writing the same in to the application filelds

2012-01-27 Thread RaiMan
Question #186002 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/186002

Status: Open = Answered

RaiMan proposed the following answer:
As stated in the intro of the docs at http://sikuli.org/docx/:
However, if you would like to write more powerful and complex scripts, which 
might even be structured in modules, you have to dive into the Python Language 
(http://jythonpodcast.hostjava.net/jythonbook/en/1.0/ ).

Since this is more a tutorial kind of doc, as a reference you can use:
Python 2.5: http://docs.python.org/release/2.5/index.html (Language and Library 
reference + much more)
Jython 2.5.2: http://www.jython.org/docs/index.html

a small tutorial on file handling:
http://docs.python.org/release/2.5/tut/node9.html#SECTION00920

Always be aware, when using Python documentation, that Sikuli uses the
Java based Jython interpreter internally, that especially cannot load
any Python modules that are written in C or need C-based API's to the
underlying system.

If something, that might work in Python, but produces name not found
errors in Sikuli/Jython, you have to live with the fact, that it will
not be available 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 #185921]: empty output when running sikuli script from command line

2012-01-27 Thread andrea
Question #185921 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/185921

andrea posted a new comment:
Just for my personal interest.
What is the main difference using ide-w bat or ide.exe?

andrea

-- 
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 #186051]: color recognizing problem

2012-01-27 Thread Olena Alexyeenko
New question #186051 on Sikuli:
https://answers.launchpad.net/sikuli/+question/186051

Hello,

I have a color recognizing problem with Sikuli. 
I have done an automation of remover red eye in image. I did an eye screenshot 
before and after remover. Then I did: 

if exists(redEyescreenshot):
popup(Red!)
elif exists(removedRedEyeScreenshot):
popup(Works)
else: popup( Nothing!)

Sikuli finds the first one, and popup Red
When I type some text, select yellow color, for example, make screen shot, then 
compare with the same text in green or black, it works and finds the right text.

May you give me some advice what should I do.

Regards, 
Olena

-- 
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 #185791]: How to run Sikuli On Virtual Machines

2012-01-27 Thread daluu
Question #185791 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/185791

daluu posted a new comment:
btw, my previous post was regarding any such background keep-alive
automation, wasn't specific to Sikuli doing that.

I would think a good background process that does such keep alive should
check if system is idle and only perform action when idle, not while
some automated test is running. how to do that I don't know...

-- 
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 #185791]: How to run Sikuli On Virtual Machines

2012-01-27 Thread daluu
Question #185791 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/185791

daluu posted a new comment:
now that I think about this...

wait() is in seconds right? As demo is fine, but for deployment should
have a longer wait/sleep like min of 5 or 10 minutes up to an hour. If
the background Sikuli script runs often then it may become CPU
intensive.

Also sending keystrokes is probably a better option as mouse movements
might hijack whatever automation is being run, if there are parallel
tasks. Less conflict with keystrokes, although it may still interfere.

-- 
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 #186070]: Freelancers needed for a project

2012-01-27 Thread MYS
New question #186070 on Sikuli:
https://answers.launchpad.net/sikuli/+question/186070

Hello Everyone

I am searching for more experienced sikuli coders to help me with a project 
that is a little above my skill set.  It involves programming sikuli to read 
from a database/text file  the ID number of the object and the task that needs 
to be performed on the object

Program workflow:
1. Sikuli will launch a program   and search for the object using the ID number 
provided
2. Once the object is found it will  execute a series of mouse clicks to 
complete the  required task

As you can see from the workflow, there is an added layer of complexity here. 
If you feel you can help me with this , email me with a quote for your 
services. 

Thanks for your help,
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