multiple wait command
Posted: Fri Mar 18, 2016 1:59 am
Is there anyway to manage wait command?
I want to affecting "wait command" only for specific task only.
for example: (please look at the code)
wait command "tDelay1" affect "mbtn1" only.
and wait command "tDelay2" shouldn't wait the procces of tDelay1.
I want the both proccess independenly.
Is this make sense?
Appreciate for help and comment
Thank You
I want to affecting "wait command" only for specific task only.
for example: (please look at the code)
wait command "tDelay1" affect "mbtn1" only.
and wait command "tDelay2" shouldn't wait the procces of tDelay1.
I want the both proccess independenly.
Is this make sense?
Code: Select all
put field delayAP1 into tDelay1
put field delayAP2 into tDelay2
put field delayAP3 into tDelay3
put field delayAP4 into tDelay4
put field delayAP5 into tDelay5
if the backgroundcolor of btn mAP1 is 128, 0, 0 then
wait tDelay1 seconds with messages
send "mouseUp" to button "mbtn1"
end if
if the backgroundcolor of btn mAP2 is 128, 0, 0 then
wait tDelay2 seconds with messages
send "mouseUp" to button "mbtn2"
end if
if the backgroundcolor of btn mAP3 is 128, 0, 0 then
wait tDelay3 seconds with messages
send "mouseUp" to button "mbtn3"
end if
if the backgroundcolor of btn mAP4 is 128, 0, 0 then
wait tDelay4 seconds with messages
send "mouseUp" to button "mbtn4"
end if
if the backgroundcolor of btn mAP5 is 128, 0, 0 then
wait tDelay5 seconds with messages
send "mouseUp" to button "mbtn5"
end if
Thank You