Re: [Sikuli-driver] [Question #163440]: i want to repeat my loop

2011-07-01 Thread RaiMan
Question #163440 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/163440 RaiMan proposed the following answer: @ Willie: for i in range(n): will loop exactly n times beginning with 0 and ending with n-1 This corresponds with the fact that list indexing (arrays) starts with 0: a

Re: [Sikuli-driver] [Question #163440]: i want to repeat my loop

2011-07-01 Thread Willie
Question #163440 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/163440 Status: Open => Answered Willie proposed the following answer: for x in range(r): [your code here] ^ will loop r+1 times, setting the variable x to an incremental number each time (x begins at 0, end

Re: [Sikuli-driver] [Question #163440]: i want to repeat my loop

2011-07-01 Thread aaysh
Question #163440 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/163440 Status: Answered => Open aaysh is still having a problem: I want code i am unable to understand please solve my problem just paste the loop code here for above problem -- You received this question no

Re: [Sikuli-driver] [Question #163440]: i want to repeat my loop

2011-07-01 Thread Willie
Question #163440 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/163440 Status: Open => Answered Willie proposed the following answer: Link from the documentation: http://www.jython.org/jythonbook/en/1.0/LangSyntax.html#for-loop This should be the one you want: for x in r

Re: [Sikuli-driver] [Question #163440]: i want to repeat my loop

2011-07-01 Thread Willie
Question #163440 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/163440 Willie posted a new comment: Can you edit posts??? Anyways, ignore those ellipses (...), those should not be typed -- You received this question notification because you are a member of Sikuli Drivers, whi

Re: [Sikuli-driver] [Question #163440]: i want to repeat my loop

2011-07-01 Thread Willie
Question #163440 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/163440 Willie proposed the following answer: Can you edit posts??? Anyways, ignore those ellipses (...), those should not be typed -- You received this question notification because you are a member of Sikuli Dri

[Sikuli-driver] [Question #163440]: i want to repeat my loop

2011-07-01 Thread aaysh
New question #163440 on Sikuli: https://answers.launchpad.net/sikuli/+question/163440 wait( , FOREVER) sleep(2) click( ) sleep(2) click( ) This is my code i wanna repeat This whole proccess 100 times as it is please provide code as i am new in sikuli and weak in coding -- You received this