2014-10-11, 11:29
(2014-10-11, 04:46)Milhouse Wrote: What do you mean by an "exit loop"? Do you just want to add a timeout to waitForAbort(), as it supports that (takes a float, in seconds). Then test the result of waitForAbort(<seconds>) to determine if an abort has been requested - it will be false if not (in which case go round your loop again).
Exit loop was a bad choice of phrase - I normally use a while not loop (and do what the script needs to within that loop) then, when that finishes, exit. If I'm understanding right, I can do the same with the timeout on this method. Thanks for the hint