After further study, I realized for the waiting time we can use: m.wait(numberofseconds)
The still troublesome command is the m.next() tho. I succesfully used m.next() to go to next screencast, but then it was stuck on a loop repeating that new screencast. It is like if m.next() executed next screencast from within the current screencast, and when it finished, went back to repeat the current screencast. Anyone knows the way to cleanly send the user to the next screencast from the current one? On Thursday, May 23, 2013 4:13:53 PM UTC+2, Fidel Pérez wrote: > > Im trying to use screencasts as follows: > > Say I want a screencast to wait 5 secs then play the next screencast. > > Im trying the following: > > import time >> time.sleep(5) >> m.next() > > > The time.sleep one gives me a Leo hang with the following message over and > over: > "afterChangeGroup oops: expecting beforeGroup, got afterGroup" > > The m.next() one gives me this error and stops the slide: > RuntimeError: maximum recursion depth exceeded while calling a python > object > > It is becoming a habit for me that I find a very cool function in Leo > then my scumbag brain (link) <http://www.quickmeme.com/Scumbag-Brain/>asks me > to use it along with the single specific > command that makes it all crash away. > > Screencasts were not an exception -_-' > > > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/leo-editor?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
