Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 09-02-2011, 05:24 PM
Shiamak Shiamak is online now
Registered User
 
Join Date: 02-07-2006
Posts: 84
How do you apply this input to OUTPUTWINDOW?

In output window my scripts doesnt even wait but it works find in MS DOS window.
Reply With Quote
  #2  
Old 09-02-2011, 05:30 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,027
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.).
Reply With Quote
  #3  
Old 09-02-2011, 05:37 PM
Shiamak Shiamak is online now
Registered User
 
Join Date: 02-07-2006
Posts: 84
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.
Reply With Quote
  #4  
Old 09-02-2011, 06:16 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,027
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
Reply With Quote
  #5  
Old 09-19-2011, 03:30 PM
Shiamak Shiamak is online now
Registered User
 
Join Date: 02-07-2006
Posts: 84
OK, here it is..

I have a php script that generates a choice menu for the user to choose from, I want to run this script from within visual build and want user (ME) to provide an input so the script can take appropriate action.

Is it possible?

BTW: this PHP script needs to be run in CMD.
Reply With Quote
  #6  
Old 09-20-2011, 11:01 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,027
If you are calling php.exe to run your script, and the script is sending a prompt to stdout and waiting for a response on stdin, there isn't a way to accept user input in the console and send it to the process from Visual Build.
Reply With Quote
  #7  
Old 09-20-2011, 01:00 PM
Shiamak Shiamak is online now
Registered User
 
Join Date: 02-07-2006
Posts: 84
Is there any other way of doing this ?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 01:05 AM.


Copyright © 1999-2023 Kinook Software, Inc.