katsudon Posted November 22, 2016 Report Share Posted November 22, 2016 Just wondering is it possible to ping the state of an auxiliary timeline in Watchout? Like if i send it a command to play auxiliary timeline "A1" and lets say somehow i don't know if its playing or not. is there a command i can send to Watchout to get the state of auxiliary timeline "A1" either in ture/false or anyother format? Quote Link to comment Share on other sites More sharing options...
jfk Posted November 22, 2016 Report Share Posted November 22, 2016 This information is outdated as of version 6.4 if the new folder feature in the task window is used. Yes, the state of an auxiliary timeline / timeline task (0 = dead, 1 = paused, 2 = playing.) is available through the getStatus command. Above is excerpted from an old document, but this stuff rarely changes (sometimes it expands). Note: getStatus 2 This is a short form for the main timeline, for an auxiliary timeline you have to add the additional parameter as shown above. But I wanted to explain the integer value that must precede the parameter where you specify the timeline name. The numeric value refers to the optional subscription function: 0 = disable 1 = enable 2 = one-shot poll If you set it to 1 (as in the example), you will receive a continuos stream of unprompted status messages at about 1-2 second intervals, until you disable it. Set to 2, you will receive only one response. Subscriptions are to avoid bogging down WATCHOUT with high frequency of status requests. Subscription output is a scheduled event and adjusts to system load, one shot polls are interrupt based and if sent to often, can impact system performance. Quote Link to comment Share on other sites More sharing options...
katsudon Posted November 23, 2016 Author Report Share Posted November 23, 2016 Thanks a lot, works nicely. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.