This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
tutorials:htmlaccess [2017/12/12 14:38] James Sentman |
tutorials:htmlaccess [2017/12/12 14:42] (current) James Sentman info on how to use a group instead of a list |
||
---|---|---|---|
Line 123: | Line 123: | ||
</code> | </code> | ||
- | The [[dictionary:lists:alloflist|all of list]] verb returns an AppleScript list of all the units in that list. Then you can use the simple AppleScript “is in” or “is not in” commands to know if the unit is in the list or not. | + | The [[dictionary:lists:alloflist|all of list]] verb returns an AppleScript list of all the units in that list. Then you can use the simple AppleScript “is in” or “is not in” commands to know if the unit is in the list or not. If you wanted you could use a Group rather than a List. Place the units in a group and use the [[dictionary:lists:allofgroup|all of group]] verb instead to get the list of it’s Units. |
If control is requested for a unit not in that list a “403: Forbidden” error will be returned to the browser or other device. | If control is requested for a unit not in that list a “403: Forbidden” error will be returned to the browser or other device. |