How can I call a script from an HTA and print the output back to the HTA?
Posted on 2008-10-22
I'm in process of making an HTA front end for a collection of scripts I currently manage/create. What I'd like to do is to have the HTA take the user input required to run the script, pass those variables to the script, then print back into the HTA (in a SPAN or DIV) the output or results of the script.
I've already got the HTA to ask for user input based on what script they selected to run, AND I know how to call a script once the "submit" button has been pressed, but how do I pass the necessary variables to the script and then pull back the final output? What code do I need to put into the script to pass the output information back to the HTA?