> > A quick question: How will Director know when perl has completed execution? > > Background: On click of a button, I will execute a perl exe (win32) to > manipulate an XML file and once it is done, I display the XML file within > Director. How do you call this perl exe in Dirctor? getNetText()? If so, you can use netDone(pNetID) on exitFrame to check if it's done.
on mouseUp me pNetID = getNetText(link to your perl file) end on exitFrame if netDone(pNetID) = true then if netError(pNetID) = "ok" then do something else do another end if end if end Hope this help! Yachun =) [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]