Testing/checking for sleep and actions
Will a sh with (several) sleep commands work? For example:
Solution:Jump to 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...
3 Replies
#!/bin/sh
sleep 10
echo "One"
sleep 10
echo "Two"
sleep 10
echo "Three"
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
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