Arguments in the execute program device

General HouseBot discussion. Any issues that don't fit into any of the other topics belong here.
Post Reply
chocolate
Member
Posts: 6
Joined: Mon May 05, 2003 6:51 am

Arguments in the execute program device

Post 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
ScottBot
Site Admin
Posts: 2790
Joined: Thu Feb 13, 2003 6:46 pm
Location: Georgia (USA)
Contact:

Re: Arguments in the execute program device

Post 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.
Scott
Post Reply