Page 1 of 1

Checking if an overlay is ending

Posted: 01 Dec 2019 16:14
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.

Re: Checking if an overlay is ending

Posted: 01 Dec 2019 17:50
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.

Re: Checking if an overlay is ending

Posted: 01 Dec 2019 18:14
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.

Re: Checking if an overlay is ending

Posted: 01 Dec 2019 18:56
by radio42
Good to know!
I already optimized that command on v4.1.5.1.