[Sikuli-driver] [Question #402722]: Create Debug.user log message with milliseconds

2016-10-03 Thread alan carr
New question #402722 on Sikuli:
https://answers.launchpad.net/sikuli/+question/402722

I am using Debug.user("xyz") to produce a log message , however these messages 
by default are only Hrs Mins Secs . I should like the log message to be Hrs 
Mins Secs Milliseconds.

I tried by defining my own format for time.strftime, however I'm not sure how 
to get my script to use this for each debug 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 #402262]: Random number of times around a loop

2016-09-27 Thread alan carr
Question #402262 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/402262

Status: Open => Solved

alan carr confirmed that the question is solved:
Thanks Raiman / Roman I have resolved with your help

-- 
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 #402262]: Random number of times around a loop

2016-09-26 Thread alan carr
Question #402262 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/402262

Status: Answered => Open

alan carr is still having a problem:
I have read the python docs however I am no developer, I thought I was
close to this, any more help much appreciated

-- 
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 #402262]: Random number of times around a loop

2016-09-25 Thread alan carr
New question #402262 on Sikuli:
https://answers.launchpad.net/sikuli/+question/402262

I am trying to create  a loop that "loops" a random number of times between x 
and y

I tried the following -:

import random
random.seed()
t=random.randint(1, 5)

while True:

for x in range(t):


### Loop ###
click("__CLICK-TO-CAPTURE__")

Loop


I can get things to work if for "x in range(5) " which will create a 5 x loops 
but I require a random number of loops.


One additional point is there a way of creating a wait for image  x OR y to 
appear 


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