I am trying to make the mouse click at fixed intervals along a straight line.
So far, I have the following which 'compiles' without errors:
on RollEm
click at "40,300" -- first point on line
repeat 5 times
move the mouseLoc relative "40,0" without waiting
click at the mouseLoc
end repeat
end RollEm
Only the first statement works. At line 4 it throws the error:
Type move: can't find object
Object card id 1002
Line move the mouseLoc relative "40,0" without waiting
Hint RollEm
How should I script that repeat structure?
With many thanks in advance.
Barry Barber
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode