[Sikuli-driver] [Question #267859]: Rewind code

2015-06-07 Thread Wei Yang
New question #267859 on Sikuli:
https://answers.launchpad.net/sikuli/+question/267859

I would like to know if it is possible to rewind back to a certain previous 
line assuming if a FindFailed or any other exceptional kind of error occurred.

Please advice.

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


Re: [Sikuli-driver] [Question #216583]: Sikuli script to press multiple key combinations in windows

2015-06-07 Thread eduardobedoya
Question #216583 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/216583

eduardobedoya posted a new comment:
so there is not especial Sikuli syntax, only achievable through python
loop

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


Re: [Sikuli-driver] [Question #267855]: java.lang.NullPointerException

2015-06-07 Thread Jonathan
Question #267855 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267855

Status: Open = Solved

Jonathan confirmed that the question is solved:
I have hived off a large section the file into another file and split it
into two functions that are then called in the original file. This seems
to have solved the problem. I was half expecting that the two new
functions would have to be in separate files but this was not the case.

Although this has solved the problem I'm not sure that it is correct
that there is a limit on the size of a file being imported.

Jonathan

-- 
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 #267835]: How to wait for a duplicated Image (Img already in screen, wait for a duplicated Img)

2015-06-07 Thread eduardobedoya
Question #267835 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267835

eduardobedoya posted a new comment:
the y axis is predictable
the x axis is unpredictable
in fact, the region in which Im searching is an horizontal rectangle (all the 
screen wide size and 300px height)

Do I first got to find all previous Matches of the Img
So it will count then if another one appear right?
what if there is no image at the beginning?
Sikuli AutoWaitTime takes hole three seconds if no image is found on screen
I guess I would have to set the autowaittime to 1sec and then restore it to 3, 
cuz in all others findImg actions in my script I would like to wait 3 secs. 
Isn't any other way to kinda set autowaittime for a single findAll, (like in 
the wait action or in the exists actions)

How would the python code look like? what approach should I follow.

THanks Advanced.

-- 
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 #267835]: How to wait for a duplicated Image (Img already in screen, wait for a duplicated Img)

2015-06-07 Thread eduardobedoya
Question #267835 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267835

eduardobedoya posted a new comment:
the y axis is predictable
the x axis is unpredictable
in fact, the region in which Im searching is an horizontal rectangle (all the 
screen width and 300px height)


Do I first got to find all previous Matches of the Img, count them before
[run another predifined function] and then count them again, and see if another 
one appear right?
but my problem is when there is no image at the beginning (first count), cuz if 
so, Sikuli AutoWaitTime takes hole three seconds to set the first count = 0. 
How can I get the findAll result faster (in 1 sec) if there is not image at the 
beginning?
I guess I would have to set the autowaittime to 1sec before run the first 
count, and then restore it to 3secs, cuz in all others findImg actions in my 
script I would like to wait 3 secs.
Isn't any other way to kinda set autowaittime for a single findAll, (like in 
the 'wait' action or in the 'exists' actions which have their own autowaittime 
that can be set individually in each action), How can I change autowaittime for 
a single findAll?

Is there is another better approach to do this task, please give me a
hing of how would the python code look like?

THanks Advanced.

-- 
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 #267835]: How to wait for a duplicated Image (Img already in screen, wait for a duplicated Img)

2015-06-07 Thread eduardobedoya
Question #267835 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267835

eduardobedoya posted a new comment:
the y axis is predictable
the x axis is unpredictable
in fact, the region in which Im searching is an horizontal rectangle (all the 
screen width and 300px height)

Do I first got to find all previous Matches of the Img, count them before
[run another predifined function] and then count them again, and see if another 
same Img appear right?
but my problem is when there is no image at the beginning (first count), cuz if 
so, Sikuli AutoWaitTime takes hole three seconds to set the first count = 0. 
How can I get the findAll result faster (in 1 sec) if there is not image at the 
beginning?
I guess I would have to set the autowaittime to 1sec before run the first 
count, and then restore it to 3secs, cuz in all others findImg actions in my 
script I would like to wait 3 secs.
Isn't any other way to kinda set autowaittime for a single findAll, (like in 
the 'wait' action or in the 'exists' actions which have their own autowaittime 
that can be set individually in each action), or any other action that could 
replace the findAll, that could have its own autowaitime that could be set 
individually in each action?

Is there is another better approach to do this task, please give me a
hint of how the python code would look like?

THanks Advanced.

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