for example
Code: Select all
on mouseUp
codeA
codeB
codeC
end mouseUp
on codeA
wait 5 seconds
set the text of field "A" to "A"
end codeA
on codeB
wait 4 seconds
set the text of field "B" to "B"
end codeB
on codeC
wait 3 seconds
set the text of field "C" to "C"
end codeC
what if on mouseUp i wanted all those to run but C will go in 3 seconds a seconds after that B and A a second after that all in 5 seconds. I know i can use 3, 1 and 1 for my waits and structure it in order but there are cases where i want all 3 to run at the same time and not have them lock up the interface