Post 10 made on Thursday July 29, 2010 at 13:13 |
miwi Long Time Member |
Joined: Posts: | December 2004 34 |
|
|
Guy,
still no luck with the script:
Now I tried
var myTime = GUI.getDisplayTime(); EndPos = myTime.indexOf(":") myHour=myTime.substring(0,EndPos); myHour=myHour-0; if (myHour<7 || myHour>=18){CF.widget("A","Page","Activity").executeActions();} else {CF.widget("B","Page",Activity").executeActions();}
Error message in the console I receive is:
ProntoScript error: SyntaxError: unterminated string literal Offending button script: Tag: 'test' Offending line #6: "else {CF.widget("B","Page",Activity").executeActions();}"
What am I doing wrong?
Regards
miwi
|
|
Miwi |
|