Page 1 of 1

Arguments in the execute program device

Posted: Tue Jan 18, 2005 7:43 pm
by chocolate
Hi Scott,



I'm trying to send the arguments from the execute program device to an external program. I just like to know how they are send to the program and how I can change them.

The changing I think I figured out by using tasks and change the argument upon certain conditions. Right? I change the argument upon the condition and let this follow by the execute program. I now just want to know how I can add the argument to the command. Is it automatic or do I need to add something that sends the argument with the command?



Marco

Re: Arguments in the execute program device

Posted: Tue Jan 18, 2005 9:32 pm
by ScottBot
chocolate wrote:The changing I think I figured out by using tasks and change the argument upon certain conditions. Right?
Right. You could also use a script to do the same thing.
I now just want to know how I can add the argument to the command. Is it automatic or do I need to add something that sends the argument with the command?
Any value that is contained in the Arguments Property of the Execute Program Device will automatically be passed as command line arguments when the Execute Program Property is changed to Yes. You can change the arguments at any time. Just make sure you change the arguments before changing the Execute Program Property.