Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

folder content disable / enable

Featured Replies

Posted

Hello,

How can I disable a folder so the contents don't run?

23 minutes ago, narciro said:

Hello,

How can I disable a folder so the contents don't run?

Yes, but unlike programs you can't right-click and disable, instead you need an IF statement for the folder that will never be true.

I have an integer variable called TRUE that is always set to one.  If I wanted to disable a folder I would use 'If TRUE = 0' 

I don't actually use that variable too much anymore (I did before I understood a different ISY programming concept) but I keep it around specifically for situations like this where I need to write an always true or always false for an if statement.

31 minutes ago, MrBill said:

Yes, but unlike programs you can't right-click and disable, instead you need an IF statement for the folder that will never be true.

I have an integer variable called TRUE that is always set to one.  If I wanted to disable a folder I would use 'If TRUE = 0' 

I don't actually use that variable too much anymore (I did before I understood a different ISY programming concept) but I keep it around specifically for situations like this where I need to write an always true or always false for an if statement.

I use many constants also, especially the basics named $cTRUE and $cFALSE. Be careful with this as I have found they can react differently that just using absolutes like 1 and 0. I have found cases (can't replicate what or how now, I did some testing to prove this earlier) where using the variable constants became slower in processing and also other programs have triggered improperly during ISY boot up. I suspect the ISY power process may have had some bugs in sequence order in some beta version.

I don't know if any of this still exists but the effects were seen (suspected) about 2-3 months ago.

  • Author

Thank you for the advice Bill and what you had seen Larry.

 

2 hours ago, narciro said:

Thank you for the advice Bill and what you had seen Larry.

 

Don't get me wrong. I use ISY Integer constants everywhere. Then I can use names for everything instead of trying to remember room number designations, bulb scene groups and you name it. I likely have about 200 Integer variable constants now. They work great when you come back two years from now and what what 15.4 means.

post-4697-0-48045600-1469889015_thumb.jpgpost-4697-0-74427700-1475791626_thumb.jpg

4 hours ago, MrBill said:

Yes, but unlike programs you can't right-click and disable, instead you need an IF statement for the folder that will never be true.

I have an integer variable called TRUE that is always set to one.  If I wanted to disable a folder I would use 'If TRUE = 0' 

I don't actually use that variable too much anymore (I did before I understood a different ISY programming concept) but I keep it around specifically for situations like this where I need to write an always true or always false for an if statement.

In view of what I posted just above I try to stick with
   If $cTRUE is not $cTRUE

It should always work no matter what happens.

Archived

This topic is now archived and is closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.