24.01.2019, 15:14
As admin mention do it like that. Tag all windows and put tag in this script. Add description to windows object, this will be displayed in email as window name.
Code:
tagname = 'windows'
windows=''
for i, object in ipairs(grp.tag(tagname)) do
if object.value then
windows= windows .. object.comment..', '
end
end
-- make sure mail settings are set in user function library before using this function
subject = 'E-mail test'
message = 'open windows are '..windows
mail('user@example.com', subject, message)
------------------------------
Ctrl+F5
Ctrl+F5