Code: Select all
global gstop
on mouseUp
put 0 into gstop
repeat while gstop = 0
put random(99) into field "Label Field"
wait 1200 milliseconds
end repeat
end mouseUp
Thanks for any advice or suggestions,
TJ.
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Code: Select all
global gstop
on mouseUp
put 0 into gstop
repeat while gstop = 0
put random(99) into field "Label Field"
wait 1200 milliseconds
end repeat
end mouseUp
Code: Select all
wait 1200 milliseconds with messages
Code: Select all
global gstop
on mouseUp
if the label of me is "Start" then
set the label of me to "Stop"
put 0 into gstop
repeat while gstop = 0
put random(99) into field "Label Field"
wait 1200 milliseconds with messages
end repeat
else
set the label of me to "Start"
put 1 into gstop
end if
end mouseUp