18.03.2019, 07:46
Use this as .lp file. It will print out group address and object name for all objects that are in any scene sequence.
Code:
<?
require('apps')
objects = db:getall([[
SELECT * FROM objects
WHERE id IN (SELECT object FROM scene_sequence)
ORDER BY id
]])
for _, obj in ipairs(objects) do
print(buslib.decodega(obj.id), ' ', obj.name or '', '<br>')
end