1 hour ago1 hr I was reading some of the IoX documentation and saw a comment about folders being "enabled or disabled". I had never looked into that before, and thought "that would be a good way to handle programs I no longer actively use but don't want to delete either." I figured I could drag a non-used program into a folder and mark the folder DISABLED. I know I can disable the programs themselves, but a comment in the doco said that under certain circumstances the ISY may go ahead and run a program even though it is disabled. To me, this sounds in the least inconvenient, and potentially dangerous. I just want a way to stash code away and know that it will never run.So I created a new folder. When I right-click the folder I see the options to Enable or Disable the folder. I select Disable. First problem noted: There is no change in the folder icon or any other obvious change to indicate the folder is either Enabled or Disabled. Huh.Next I created two test programs inside the folder and leave them Enabled.Then I right-clicked the folder and now the Enable/Disable options are GONE.I right-click the folder and go to Status. I have to search the Path column for the new folder. I see the two new programs, and in the Enabled column both show ON.I right-click both programs and disable them. Go back to the Status page and now the Enabled column shows a dash (not OFF as I would have expected).Can anybody help me learn how folders are supposed to work, as far as enabling/disabling, and why they don't seem to work the way I would assume?Thanks.Jon
24 minutes ago24 min I have no disable option or enable option for any of my FOLDERS, only programs.However folders can be disabled via conditions added to their "IF" section. Eg: If X is not Xalways evaluates as true.Folders can also be disabled by program lines. This can be a convenient way of turning off a complete function all inside a folder. However one big caveat is if a program is currently running inside the folder when you disable it, the running program will stop immediately and not conclude, possibly necessary steps to terminate the process.Programmes inside a disabled folder can still be called as subroutines AFAIK. This needs to be confirmed because I avoid actively disabling folders due to being a very obscure practice and bad programming practice. I do use them for defunct programmes not in current usage.
18 minutes ago18 min I do have old programs for reference in folders marked disabled. They do not trigger unless you have a forgotten program that executes one of them but same for a disabled program. In effect all programs have an extra if to say if my folder is enabled and..,
Create an account or sign in to comment