Run OS Command usage.

Moderators: grovkillen, Stuntteam, TD-er, enesbcs

Post Reply
Message
Author
User avatar
budman1758
Normal user
Posts: 253
Joined: 15 Apr 2017, 05:13
Location: Riverside CA USA

Run OS Command usage.

#1 Post by budman1758 » 07 Aug 2020, 05:11

Can someone explain the command syntax for using this plugin? Not sure how the commands work on this one.
Thanks in advance.
"The glass is twice as big as it needs to be".

User avatar
enesbcs
Normal user
Posts: 534
Joined: 18 Jun 2017, 11:02
Location: Békéscsaba, Hungary
Contact:

Re: Run OS Command usage.

#2 Post by enesbcs » 08 Aug 2020, 17:36

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

User avatar
budman1758
Normal user
Posts: 253
Joined: 15 Apr 2017, 05:13
Location: Riverside CA USA

Re: Run OS Command usage.

#3 Post by budman1758 » 08 Aug 2020, 19:38

Thanks. Was using "taskvalueset,2,1" instead of "taskvalueset,2,1,1"

Silly me..... :lol:
"The glass is twice as big as it needs to be".

User avatar
enesbcs
Normal user
Posts: 534
Joined: 18 Jun 2017, 11:02
Location: Békéscsaba, Hungary
Contact:

Re: Run OS Command usage.

#4 Post by enesbcs » 08 Aug 2020, 20:37

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.

User avatar
budman1758
Normal user
Posts: 253
Joined: 15 Apr 2017, 05:13
Location: Riverside CA USA

Re: Run OS Command usage.

#5 Post by budman1758 » 08 Aug 2020, 21:47

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:
"The glass is twice as big as it needs to be".

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests