NoteWorthy Composer Forum

Forums => General Discussion => Topic started by: Jean-Francois on 2004-12-12 08:49 AM

Title: PROMPT command for user tool
Post by: Jean-Francois on 2004-12-12 08:49 AM
Hello,
Do you know how to run user tools with PROMPT command ?
(i.e.  <PROMPT:filename?=*>php/php.exe scripts/myphp.php )
The PROMPT windows appears correctly but the command finished with "Command process failed" while the command by itself works correctly.

The next question is how to get entered values ?  Through ENV variables ?

Thanks for your help.
Title: Re: PROMPT command for user tool
Post by: Jean-Francois on 2004-12-12 09:34 AM
Ok , I found the solution
php/php.exe scripts/myphp.php <PROMPT:parm1=*> <PROMPT:parm2=*>
and we received them in argv
Title: Re: PROMPT command for user tool
Post by: Robert A. on 2004-12-12 10:25 PM
That's actually a NWC2 question.
Title: Re: PROMPT command for user tool
Post by: NoteWorthy Online on 2004-12-13 06:03 PM
For NWC2 discussion, please use the NWC2 Forum (http://www.noteworthysoftware.com/nwc2/forum/). The NWC2 User Tools (http://www.noteworthysoftware.com/nwc2/usertools/) section now includes an example of how to utilize the prompting mechanism.