make Rev standalone wait for external app

Mark Wieder mwieder at ahsoftware.net
Wed Mar 7 23:28:25 EST 2007


Chris-

Wednesday, March 7, 2007, 12:24:18 PM, you wrote:

> This is what I ended up doing. Seems to work just find. On the
> Windows side, launching the app with the shell seems to automatically
> wait until it's finished. I was just hoping I could do the same thing
> on the Mac side. Doesn't seem to be the case though.

You might try setting a variable from the external side when you're
done, using SetVariable(). Then on the Transcript side just sit there
polling the variable until it's set.

put empty into tDone
DoTheExternalThing
repeat while tDone is empty
end repeat

-- 
-Mark Wieder
 mwieder at ahsoftware.net




More information about the use-livecode mailing list