<p dir="ltr">I meant to write "the background color still would NOT change."</p>
<p dir="ltr">73,<br>
Bob, N6TV</p>
<div class="gmail_quote">On Jun 16, 2014 11:43 PM, "Bob Wilson, N6TV" <<a href="mailto:n6tv@arrl.net">n6tv@arrl.net</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p dir="ltr">It's not really possible to do this (precisely) from a LUA script.  There is no way to set an event timer.</p>
<p dir="ltr">One could do it (approximately) by checking for a band change every time a QSO is logged, saving the timestamp, and comparing with the last saved timestamp value, but you would have to assign a different LUA script to every possible way of logging a QSO, and if you spent 30 minutes on a band without logging a QSO, the background color still would change.<br>


 <br>
Perhaps one could try running the script every time the F1 message is invoked,  but that only works for stations that spend most of their time CQing.</p>
<p dir="ltr">I think it might be easier to use an  external device, perhaps tapping a chess clock or a smartphone's built-in countdown timer every time you changed bands?</p>
<p dir="ltr">Frankly, I don't really understand why this is needed for effective contesting.  Most contesters change bands as conditions dictate, not by the clock.</p>
<p dir="ltr">73,<br>
Bob, N6TV</p>
<div class="gmail_quote">On Jun 16, 2014 11:16 PM, "Manu Tel" <<a href="mailto:tel.manu07@gmail.com" target="_blank">tel.manu07@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Hello</span><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"><div>I like to know if it is possible to recover the value of last band change elapsed time in a LUA script to change the background color after 15 minutes spent on this band. </div>


<div><br></div><div>Thank you for your help </div><div><br></div><div>friendly </div><div>Manu F4FLQ</div></div></div>
</blockquote></div>
</blockquote></div>