Post 1 made on Sunday February 12, 2023 at 05:37 |
Fischi Long Time Member |
Joined: Posts: | January 2011 114 |
|
|
Hi,
I want to use an action that is triggering at 07:00 (24 h format).
Now I have created a library as follows :
/*! @title time_based_action @version 1.0 @author V Fischer
*/ var myTime = GUI.getDisplayTime(); EndPos = myTime.indexOf(":") myHour=myTime.substring(0,EndPos); myHour=myHour-0; if (myHour==7){CF.widget("A4","B","C").executeActions();}
I've putted the library into the PS Lybraries on the System level.
I was hoping that the action runs at 07:00 but nothing happens.
What's going wrong ?
Best regards, Fischi
|
|
|