Page 1 of 1

Run OS Command usage.

Posted: 07 Aug 2020, 05:11
by budman1758
Can someone explain the command syntax for using this plugin? Not sure how the commands work on this one.
Thanks in advance.

Re: Run OS Command usage.

Posted: 08 Aug 2020, 17:36
by enesbcs
It is designed to be as simple as possible.
If the Run OS task has a value of 0 it will run the command at the Line 0, if the task has value 1 it will run command line in Line 1.

To change a task value, the "taskvalueset" command is the standard way. Or in newer versions a Toggle button also implemented in the webGUI for testing.

taskvaluset,<tasknum>,1,0
taskvaluset,<tasknum>,1,1

Re: Run OS Command usage.

Posted: 08 Aug 2020, 19:38
by budman1758
Thanks. Was using "taskvalueset,2,1" instead of "taskvalueset,2,1,1"

Silly me..... :lol:

Re: Run OS Command usage.

Posted: 08 Aug 2020, 20:37
by enesbcs
budman1758 wrote: 08 Aug 2020, 19:38 Thanks. Was using "taskvalueset,2,1" instead of "taskvalueset,2,1,1"
It also happens me sometimes. :)
I guess taskvalueset can be enhanced to work on first value, if only two parameters added, but i was lazy to implement it.

Re: Run OS Command usage.

Posted: 08 Aug 2020, 21:47
by budman1758
I guess taskvalueset can be enhanced to work on first value, if only two parameters added, but i was lazy to implement it.
Probable more trouble than it's worth. Might open a can of worms.... :ugeek: