Announcement

Collapse
No announcement yet.

use of isInSession() explansion.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • use of isInSession() explansion.

    Hi,

    I must be missing something.

    As far as I can tell "isInSession()" is always true regardless of the time template used.

    If so, then where would it be used?

    I ran the sample code below on an Auto time template and on a user defined time template (9:30-16:30) but it never prints out or colors the background:
    PHP Code:
       if ( isInSession() == false ) { 
          
    //clear the Formula Output Window 
          //print a line of text to that window 
          
    setBarBgColor(Color.blue);
          
    debugPrint"We are currently outside of the session as specified by your current Time Template.\n" ); 
       } 

    Thanks.

    Wayne
    Last edited by waynecd; 04-14-2013, 11:51 PM. Reason: setBarBgColor(Color.blue);
Working...
X