|
#1
|
|||
|
|||
Accepting Users inputs on output window
Hello,
I have a scripts that expects a user input (Y/N) during build time, though the output is being thrown on standard output which is the visual Build output window but the output windows doesnt accpet user inputs? Is there a way to achieve this? I am using VisualBuild 7.7. I appreciate your help. |
#2
|
|||
|
|||
The Visual Build console app does not prompt for or accept user input in the console. You would need to prompt in another window (for instance, using InputBox, MsgBox, or similar -- see the Prompt.bld sample).
|
#3
|
|||
|
|||
How do you apply this input to OUTPUTWINDOW?
In output window my scripts doesnt even wait but it works find in MS DOS window. |
#4
|
|||
|
|||
You don't apply it to the console window, you would store the result in a macro and use that in the rest of your script (conditional build rule, etc.).
|
#5
|
|||
|
|||
I am sorry if I confused you, the Input has to be to a script (PHP) that is being run by VisualBuild via output window.
Is it possible? This input is needed at the run time, not at the command line. Last edited by Shiamak; 09-02-2011 at 05:54 PM. |
#6
|
|||
|
|||
The output window doesn't run anything, it just logs output from steps in the project. I'm not quite clear on what you're trying to accomplish, but PHP is typically hosted in a web server--perhaps you could use the HTTP action to call the web server with the PHP script and use the results as needed?
http://www.kinook.com/VisBuildPro/Manual/http.htm |
|
|