Testing for "if Dark"

Forum rules

This is a legacy forum which is locked for new topics. New topics should be started in one of the other forums under Extending Indigo

Posted on
Mon Nov 05, 2012 9:20 pm
bap offline
Posts: 33
Joined: Sep 25, 2012

Testing for "if Dark"

What's the proper way to test for the "If Dark" condition in a script? It doesn't appear to be just a variable you can query (or am I doing something wrong?)

Thanks,

-Bruce

Posted on
Tue Nov 06, 2012 8:46 am
jay (support) offline
Site Admin
User avatar
Posts: 18260
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Testing for "if Dark"

You can check the isDaylight variable - it's created by the system and is readonly so it's always available.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 9 guests