Jump to content

Getting auxiliary timeline State


katsudon
 Share

Recommended Posts

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? 

Link to comment
Share on other sites

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.

 

WO_task_status.png

 

 

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.

 

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...