Icons linked to scripts - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Visualization (https://forum.logicmachine.net/forumdisplay.php?fid=9) +--- Thread: Icons linked to scripts (/showthread.php?tid=49) |
Icons linked to scripts - Tinysprings - 28.07.2015 Hello, It would be nice to add the possibility to directly link an icon to a script execution. The only possibility now is to create specific group adresses linked to the icons and catch them with an event fired script, even if the group has no direct function in the KNX bus. The reason is to get rid of the -/+ default control that is displayed when I need to adjust a dimmer. I'd rather like to do it directly with my own icons. Thanks RE: Icons linked to scripts - admin - 29.07.2015 There's a better solution for your task, you can enable "Show control" for that element and add additional class "mydimmer" and style it via CSS. Here's a small example to start from: Code: .usermode .mydimmer .btn { RE: Icons linked to scripts - Tinysprings - 29.07.2015 Thanks for the "don't send" tip, I missed this one. It's anyway not the more efficient way to reserve group addresses for "internal" process. But for the CSS, I really need to dive in. Tiny |