Checking if an overlay is ending

You have a question or need an advice about how to do something? Ask it here!
Post Reply
phonic
Posts: 327
Joined: 06 Mar 2019 14:45
Checking if an overlay is ending

Post by phonic »

Using PING ${cpl...} What Control Command Macro do you use to check if an overlay is ending or its current time left? I've found in the manual micros for waiting, shown and playing, but not for time or ending.
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Checking if an overlay is ending

Post by radio42 »

Such direct macro does not exist.
But you might use the ${timecodemaintext} macro together with the ${overlayplayerstatus} macro?!

Note, that all macros are listed in the Appendix of the User Manual.
phonic
Posts: 327
Joined: 06 Mar 2019 14:45
Re: Checking if an overlay is ending

Post by phonic »

radio42 wrote: 01 Dec 2019 17:50 Such direct macro does not exist.
But you might use the ${timecodemaintext} macro together with the ${overlayplayerstatus} macro?!

Note, that all macros are listed in the Appendix of the User Manual.
I checked ${timecodemaintext} and thought that was only for the decks. Works perfectly. Thanks!

By the way, no crashes yet using PING to get the needed info, so must be something to do with that other command.
Last edited by phonic on 10 Dec 2019 18:52, edited 1 time in total.
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Checking if an overlay is ending

Post by radio42 »

Good to know!
I already optimized that command on v4.1.5.1.

Post Reply