Re: [Sikuli-driver] [Question #267843]: Please, I need help with a looping through a list

2015-06-06 Thread chy
Question #267843 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267843

Status: Open => Solved

chy confirmed that the question is solved:
Never mind, I figured it out!

-- 
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-06 Thread Jonathan
Question #267855 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267855

Jonathan gave more information on the question:
I think the file is 172KB after a bit more investigation

-- 
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-06 Thread Jonathan
Question #267855 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267855

Jonathan gave more information on the question:
Just to add I am using a MAC with OS X version 10.9.5

-- 
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 #267855]: java.lang.NullPointerException

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

When running my script I get:-


[error] script [ main ] stopped with error in line 10
[error] java.lang.NullPointerException ( java.lang.NullPointerException: 
!!WHILE IMPORTING!! java.lang.NullPointerException: !!WHILE IMPORTING!! 
java.lang.NullPointerException )
[error] --- Traceback --- error source first
line: module ( function ) statement 
9: handEvaluator (  ) from turnDrawEvaluator import *
[error] --- Traceback --- end --


I am have no idea what this means. Could it be that it is complaining that my 
file turnDrawEvaluator is too large to import? The file is 649 lines of many 
complex if statements. My operating system reports that it it is 24KB but I am 
confused by this as if I split it into two files one of these files is 117KB 
!!! I have a file of 522KB that is not causing importing problems. Splitting 
the file is going to cause serious  re-coding issues so I really want to 
understand that size really is the problem before I go down that road.

All comments/insights welcome

Regards

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 #267553]: Run Sikuli Script using Windows Task Scheduler in Windows 7

2015-06-06 Thread Eugene Maslov
Question #267553 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267553

Status: Open => Answered

Eugene Maslov proposed the following answer:
skish,
If nothing happens before the window is closed, it can mean that something is 
wrong in the mytests.sikuli script and it dies with an error, or some other 
error occurs.
run cmd from start menu and put there concatenated command
c:\Sikuli\runsikulix.cmd -r c:\sikuli_tests\mytests.sikuli
cmd will write what's wrong there.

-- 
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 #267843]: Please, I need help with a looping through a list

2015-06-06 Thread chy
Question #267843 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267843

Description changed to:
Hi! So I have a long script that logs in to accounts and does some
actions then logs out, then repeats. I made a list of the logins that I
want the script to loop through, but ONE BY ONE as the script starts
over. So for example it looks kinda like this:

while True: #to loop infinitely I guess? sorry I'm still learning
   click ("blah.png")
   logins = ['l...@mail.com', 'l...@mail.com', etc]
   for x in logins:
  type("%s" %x + Key.TAB)
  type("pass" + Key.ENTER)
   #after this is all just the actions I need to be done
   #the script will then log out of the account but I want it to go the NEXT 
email (l...@mail.com) after going through the first one (l...@mail.com)

I'm probably doing this in a very inefficient way but what happens is
that all the emails are typed into the email box at once. I've tried
breaking the loop but then it will start over to the first email when
the whole script loops again. If anyone could please help me out with
this, I'd really really appreciate it! 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 #267843]: Please, I need help with a looping through a list

2015-06-06 Thread chy
New question #267843 on Sikuli:
https://answers.launchpad.net/sikuli/+question/267843

Hi! So I have a long script that logs in to accounts and does some actions then 
logs out, then repeats. I made a list of the logins that I want the script to 
loop through, but ONE BY ONE as the script starts over. So for example it looks 
kinda like this:

while True: #to loop infinitely I guess? sorry I'm still learning
   click ("blah.png")
   logins = ['l...@mail.com', 'l...@mail.com', etc]
   for x in logins:
  type("%s" %x + Key.TAB)
  type("pass" + Key.ENTER)
   #after this is all just the actions I need to be done
   #the script will then log out of the account but I want it to go the NEXT 
emai (l...@mail.com) l after going through the first one (l...@mail.com)

I'm probably doing this in a very inefficient way but what happens is that all 
the emails are typed into the email box at once. I've tried breaking the loop 
but then it will start over to the first email when the whole script loops 
again. If anyone could please help me out with this, I'd really really 
appreciate it! 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 #216583]: Sikuli script to press multiple key combinations in windows

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

Roman Podolyan proposed the following answer:
Oops, sorry, Range(5), not 4.

-- 
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-06 Thread Roman Podolyan
Question #216583 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/216583

Roman Podolyan proposed the following answer:
@eduardobedoya
To achieve that, type must be put into "For" loop.
Like this: 

for i in Range(4):
type(Key.Enter)

https://www.google.com/search?q=python+for+loop&ie=utf-8&oe=utf-8

-- 
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-06 Thread Manfred Hampl
Question #267835 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267835

Status: Open => Needs information

Manfred Hampl requested more information:
Are you able to predict in which part of the screen the new image will
appear or is this unpredictable?

-- 
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-06 Thread eduardobedoya
Question #267835 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267835

Summary changed to:
How to wait for a duplicated Image (Img already in screen, wait for a 
duplicated Img)

-- 
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 #267700]: Is there a way to append strings to clipboard?

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

Status: Answered => Solved

eduardobedoya 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 #267725]: How to change findAll WaitTimeout individually

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

Summary changed to:
How to change findAll WaitTimeout individually

Description changed to:
Hi,

I would like to change the default WaitTimeout of a single findAll

I know Settings.AutoWaitTimeout = (seconds) can change the default WaitTimeout 
in all the script (I don't know why everytime I have tested it, it only applies 
from the second time I run my script on, the first time I run the script the 
WaitTimeout remain to the defult value 3secs despite Settings.AutoWaitTimeout 
is set to 0)
I know also setAutoWaitTimeout = (seconds) set the maximum waiting time for all 
subsequent find operations.

So if I want to change the default WaitTimeout only for a single findAll
op, I should use two "setAutoWaitTimeout", one before to set to custom,
and another after the findAll op to restore to default, Iam right? is
this the only way?

isn't anything like...
if exist (Img, 0.2): #where 0.2 is the wait time and can be changed
but applied to findAll?

please any hint is very welcome

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


[Sikuli-driver] [Question #267835]: How to wait for an Image or a duplicated Image

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

How can I wait for an Image (eg. RedStartImg) but sometimes there is already a 
RedStartImg in the screen and it will appear a second one, How can I wait for 
that second RedStartImg? sometimes there are two RedStartImg and it will appear 
a third one, some times there is None and it will appear one, How can I wait 
for that RedStartImage in this case? I know that RedStartImage takes to appear 
from 0.5 to 2 secs.

please somebody, any hint?

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