commands asynchronously
Posted: Fri Aug 05, 2016 11:04 am
I would like to start the different commands asynchronously, without a command blocks/wait the next,
thx
thx
Code: Select all
on Start
myCommand1
myCommand2
myCommand3
send Start to me in 10 seconds
end Start
on myCommand1
if browserid is empty then
....
put lamorce into url abc
put the windowid of stack "main" into tID
put revBrowserOpen(tID,abc) into browserid
revBrowserSet browserid,"scrollbars","false"
revBrowserSet browserid,"showBorder","false"
revBrowserSet browserid,"offline","true"
revBrowserSet browserid,"visible","true"
revBrowserSet browserid,"rect",the rect of grc "BrowserMappa" of card "card vista_mappa" stack "main"
end if
end myCommand1
on myCommand2
.....
end myCommand2
on myCommand3
.....
end myCommand3