I'm tring to run a command prompt program from within MMF2.
There are 2 values it needs to put in the command line, then run the extrenal program.
Anybody any ideas please
Steve
Printable View
I'm tring to run a command prompt program from within MMF2.
There are 2 values it needs to put in the command line, then run the extrenal program.
Anybody any ideas please
Steve
I'm tring to run a command prompt program from within MMF2.
There are 2 values it needs to put in the command line, then run the extrenal program.
Anybody any ideas please
Steve
I moved this to where the experts are <img src="/center/images/graemlins/smile.gif" alt="" />
I moved this to where the experts are <img src="/center/images/graemlins/smile.gif" alt="" />
I think that what you're looking for is the Pipe extension. It allows you to send command(s) to command line applications, which will run in the background. You can also retrieve the output of the command like application.
Er... where to get it? Beats me. Used to be available around here. lol
I think that what you're looking for is the Pipe extension. It allows you to send command(s) to command line applications, which will run in the background. You can also retrieve the output of the command like application.
Er... where to get it? Beats me. Used to be available around here. lol
Thanks Sarah
So many places to put stuff........
Thanks Sarah
So many places to put stuff........
Thanks I'll have a look around
Thanks I'll have a look around
If anybody is interested it's in the 3rd party extension list.
Now just got to work out how to use it!!!
If anybody is interested it's in the 3rd party extension list.
Now just got to work out how to use it!!!
From what I read in your email, the application in question outputs a file, not just text to the command line window. The Pipe object can only grab what is printed to the command line window.
From what I read in your email, the application in question outputs a file, not just text to the command line window. The Pipe object can only grab what is printed to the command line window.
Thanks for the help.
I'll have to look elsewhere to get this problem sorted.
Thanks for the help.
I'll have to look elsewhere to get this problem sorted.
I'm not sure to understand your problem, that sounds too easy to do.
When you use the Execute External Program action in the Special object (the second one, with an expression), you can specify command line parameters.
For exemple create a little test.bat file that contains:
@echo parmeter1 = %1, parameter2 = %2
@pause
If you use the Execute External Program action to run it and specify "TEST1 TEST2" in the Command Line parameter, and then run it, it will display "parameter1 = TEST1, parameter2 = TEST2".
But maybe I haven't understood what you want to do.
Yves.
I'm not sure to understand your problem, that sounds too easy to do.
When you use the Execute External Program action in the Special object (the second one, with an expression), you can specify command line parameters.
For exemple create a little test.bat file that contains:
@echo parmeter1 = %1, parameter2 = %2
@pause
If you use the Execute External Program action to run it and specify "TEST1 TEST2" in the Command Line parameter, and then run it, it will display "parameter1 = TEST1, parameter2 = TEST2".
But maybe I haven't understood what you want to do.
Yves.
Using the Execute External Program, can you have a variable input into the command line?
For example need to run: client.exe -n server -u username -p password
But I would like to have a text input field that somebody types in a username and it is submitted into the command line once the submit button his hit. The server name and password would be replaced as well in similar fashion. If it is possible what might the command line syntax look like?
Or for another example, instead of having "TEST1 TEST2" in the command line paramater, these would have been entered in a text input field.
Using the Execute External Program, can you have a variable input into the command line?
For example need to run: client.exe -n server -u username -p password
But I would like to have a text input field that somebody types in a username and it is submitted into the command line once the submit button his hit. The server name and password would be replaced as well in similar fashion. If it is possible what might the command line syntax look like?
Or for another example, instead of having "TEST1 TEST2" in the command line paramater, these would have been entered in a text input field.
Use the File object. That can run external programs as well with desired parameters.
Use the File object. That can run external programs as well with desired parameters.
I'll try to explain my problem
There is a command line tool called viftool. Its used for tomtom satnav voices. I am trying to build a front end for it.
The syntax is viftool join NUM(number between 71 and 99)"steve"(a file name) steve.vif(this is the output file)
I ahve got all the display etc hacked but is it possible to call the viftool file and fill in the rest of the detail to allow the output file to be created?
Sorry for the confusion
Steve
I'll try to explain my problem
There is a command line tool called viftool. Its used for tomtom satnav voices. I am trying to build a front end for it.
The syntax is viftool join NUM(number between 71 and 99)"steve"(a file name) steve.vif(this is the output file)
I ahve got all the display etc hacked but is it possible to call the viftool file and fill in the rest of the detail to allow the output file to be created?
Sorry for the confusion
Steve