<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hi Anita,</p>
<p>Thanks - I will file a feature request.</p>
<p>I don't know what's easier:</p>
<p>1) either have a boolean variable to see if TimeManager is active or not (this would allow authors to have CASE statements)</p>
<p>2) or introduce a new function called "now_or_animation_datetime()" (or a similar name, maybe shorter) which would be automagically be replaced when TimeManager is running. When timemanager is active, it would be animation_datetime(), when timemanager is inactive, it would be now(). I wouldn't propose to automatically replace now() with animation_datetime() when TimeManager is active, as there might be rules that require now() also in the context of TimeManager running.</p>
<p>The first would be easier to implement, the second easier to be used by the users - I assume.</p>
<p>Andreas</p>
<p>On 2015-11-18 16:39, Anita Graser wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div dir="ltr">
<div class="gmail_default" style="font-size: small;">Hi Andreas,</div>
<div class="gmail_extra"><br />
<div class="gmail_quote">On Wed, Nov 18, 2015 at 3:50 PM, Neumann, Andreas <span><<a href="mailto:a.neumann@carto.net">a.neumann@carto.net</a>></span> wrote:
<blockquote class="gmail_quote" style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;">
<div style="font-size: 10pt; font-family: Verdana,Geneva,sans-serif;">
<p>Is there a way to find out when time manager is active and when not</p>
</div>
</blockquote>
<div> </div>
<div>
<div class="gmail_default" style="font-size: small; display: inline;">​I'm not sure if there would be a workaround right now. We certainly never tested this idea but it makes sense. I guess the easiest approach might be to add a function which returns whether Time Manager is currently active or inactive (like the status of the on/off button in the panel). Please file a feature request or pull request ;-)</div>
</div>
<div>
<div class="gmail_default" style="font-size: small; display: inline;"> </div>
</div>
<div>
<div class="gmail_default" style="font-size: small; display: inline;">Best wishes,</div>
</div>
<div>
<div class="gmail_default" style="font-size: small; display: inline;">Anita​</div>
 </div>
<div> </div>
<div> </div>
</div>
</div>
</div>
</blockquote>
<p> </p>
<div> </div>
</body></html>