This interesting too (but not solving):So, my point is: how to stop, from a script outside the repeat, ALL instances of a loop? (even exit to top doesn't work).
CODE:
local sNumber = 2on mouseUp pMouseButton put sNumber mod 2 + 1 into sNumber send "MofifyTheRepeat sNumber" to me in 0 secondsend mouseUpOn MofifyTheRepeat pValue put 0 into tCounter repeat 5 add 1 to tCounter if pValue = 2 then put "(" & tCounter & ")" & pValue & " " after msg beep exit repeat end if put "(" & tCounter & ")" & pValue & " " after msg wait 3 seconds with messages end repeatend MofifyTheRepeat
Statistics: Posted by trevix — Wed Sep 04, 2024 6:16 pm