15.01.2019, 10:36
(14.01.2019, 15:56)Daniel. Wrote: Hi
Then create additional object Apply(bit) set it on visu to send fixed value 1 and create event based script under it.
Something like that should do
Code:123456789101112131415161718192021222324252627282930coffeNo = grp.getvalue('7/7/7') milk = grp.getvalue('7/7/8') sugar = grp.getvalue('7/7/8') milktext= '' sugartext='' apply = event.getvalue() if (apply) then if (milk) then milktext = ' with milk' if (sugar) then sugartext = ' and sugar' end else milktext = ' ' if (sugar) then sugartext = ' and with sugar' end end end -- make sure mail settings are set in user function library before using this function subject = 'E-mail test' message = tostring(coffeNo)..milktext..sugartext..' Please' mail('user@example.com', subject, message)
Hi Daniel,
it works !!

thank you !!