Simon wrote:Hi Barry,
That wait .11 mill is too fast. Screen refresh rate is at 60-70 kHz so 1 tick is about the fastest you could expect to see a change. 10 millisecs should be fine and give your mouseClick time to be seen (actually you could test this and push the millisecs up as high as you can).
Simon
Whups! That was decimal I shouldn't have used. However, I tried the script with the "wait" as high as 1 second but it still doesn't work.
Also tried Jean-Marc's solution but it doesn't seem to do anything at all. No movement, nothing.
Maybe (probably) I'm not being clear enough.
My handler is -supposed- to change the label of the button from "Start" to "Stop" then start a loop moving a ball from one end of a straight line to the other (a total of two points, I guess). When the ball arrives at the end point, a click sound will play. Then the loop begins again. My problem is how to interrupt the loop when the user clicks the button again (which should cause an exit repeat and a change to the button label back to "Start".
Thanks