Menu

LUA + exception days

Help
uidas
2009-06-01
2012-12-14
  • uidas

    uidas - 2009-06-01

    Hi all,

    How can a LUA script know if "now" or "today" is an exception day?
    Is this possible?

    Regards,
    uidas

     
    • jef2000

      jef2000 - 2009-06-05

      Hi,

      With actual code it's not, or at least not easily. You can define a rule with a timer at 00:01 until 23:59 every exception day and put actions that set an object value ON/OFF, then use that value in the lua script.

      I just written a patch that does it:
      https://sourceforge.net/tracker/?func=detail&aid=2801976&group_id=207555&atid=1002148

      Regards,

      Jean-François

       
    • uidas

      uidas - 2009-06-07

      Thanks a lot !!

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.