This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Multiple Value true
#5
(24.01.2019, 15:14)Daniel. Wrote: 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)

Perfect Thank you.
B.R.
Reply


Messages In This Thread
Multiple Value true - by Gadjoken - 24.01.2019, 14:20
RE: Multiple Value true - by demeur - 24.01.2019, 14:43
RE: Multiple Value true - by admin - 24.01.2019, 15:11
RE: Multiple Value true - by Daniel - 24.01.2019, 15:14
RE: Multiple Value true - by Gadjoken - 24.01.2019, 15:27
RE: Multiple Value true - by Gadjoken - 25.01.2019, 08:40
RE: Multiple Value true - by admin - 25.01.2019, 08:58
RE: Multiple Value true - by Gadjoken - 25.01.2019, 09:19

Forum Jump: