Testing/checking for sleep and actions

Will a sh with (several) sleep commands work? For example:
Solution:
just for the record in this thread:
OpenDeck doesn't wait for the command to finish, in fact it doesn't wait for any action. It just sends the key press events to the plugins and moves on. Then later the plugins can send back events if they want to change the text or the image, but that is separate/asynchronous from the original event...
Jump to solution
3 Replies
GoingDutchman
GoingDutchmanOP3w ago
#!/bin/sh sleep 10 echo "One" sleep 10 echo "Two" sleep 10 echo "Three"
Leo The Leopard
Using obsws-cli solves the wait problem by transferring command of OBS to a command line, instead of chaining actions together which run at a set interval, you can use sleep and wait and timeout commands to delay actions instead
Solution
nekename
nekename3w ago
just for the record in this thread:
OpenDeck doesn't wait for the command to finish, in fact it doesn't wait for any action. It just sends the key press events to the plugins and moves on. Then later the plugins can send back events if they want to change the text or the image, but that is separate/asynchronous from the original event

Did you find this page helpful?