oberkc Posted October 19, 2017 Posted October 19, 2017 Glad you got it working. Still, my understanding of folder conditions is such that directly (manually) calling the program (run-then) would still execute the statement. While the folder condition might prohibit the IF condition from triggering and evaluating, something here is different than my understanding. (Of course, I could be understanding wrong.)
larryllix Posted October 20, 2017 Posted October 20, 2017 SOLVED! Michel Kohanim from tech support had the answer. Thank you Robert. As I suspected, your My Program folder has a condition that makes everything else false. i.e. NOTHING under My Programs will work. Please remove the condition on My Programs folder. I don't know how that happened but its easy to make a error on a new system. The solution is always easy once you know what it is I thank all of you for your time and effort. bob Nice! Keep in mind with your program...if you set the variable to say 1 The program will run and be ture running Then, and setting the variable to 5. Now your program will detect the change and run Else setting the variable to 10. This will all be so fast you will not see the change in the admin console. I have added Wait 2 seconds lines to test programs so that I can observe the program avatars change colours while sleuthing. Funny thing is I just got caught on this same thing a few days ago. I posted the complaint in the V5 thread for change consideration.
oberkc Posted October 20, 2017 Posted October 20, 2017 Keep in mind with your program...if you set the variable to say 1 The program will run and be ture running Then, and setting the variable to 5. Now your program will detect the change and run Else setting the variable to 10. This will all be so fast you will not see the change in the admin console. Good catch, and one that I am embarrassed to say I did not consider. Still, if this program were to get caught in some loop, I would at least think the variable would show a value either of 5 or 10, rather than stay on 0.
larryllix Posted October 20, 2017 Posted October 20, 2017 Good catch, and one that I am embarrassed to say I did not consider. Still, if this program were to get caught in some loop, I would at least think the variable would show a value either of 5 or 10, rather than stay on 0. With the folder logic = False even manual testing of the program sections If, Then, Else, do not function or report they didn't function. There is no indication to troubleshoot the problem. https://forum.universal-devices.com/topic/22635-v5010-testing-programs-in-disabled-folders/page-1?do=findComment&comment=221447
oberkc Posted October 21, 2017 Posted October 21, 2017 With the folder logic = False even manual testing of the program sections If, Then, Else, do not function or report Well, perhaps that is a v4.x vs v5.x I am thinking? I (still on 4.x) was near certain that I could manually trigger a program within a disabled folder. Out of curiosity, I opened my admin panel and performed a "run>>>then" on one of my disabled programs. Indeed, it worked. But, suddenly realizing that a disabled program is different than a program in a disabled folder, I tried the same thing with a program in a disabled program. I stand corrected.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.