Attachments forums

List of attachments posted on this forum.


All files on forums: 159934

Re: Indicators with ON/OFF buttons

Jackson Doh, Tue Aug 17, 2021 7:38 pm

Recently kvak posted a button indicator and highlighted how to add the Button code. I've never coded anything but it motivated me to at least try before requesting help from one of this site's generous coders. My first (failed) attempt a few weeks ago resulted in a conversation with kvak which proved very helpful:
viewtopic.php?p=1295439755#p1295439755

I decided to give it another go, taking on board kvak's helpful advice. The result is a button on the Chandelier Exit indicator. It's not perfect but it works. I'm posting it, not just because it's a great indicator but to show you all that anyone can do this. A big thanks to kvak!


Edit: I noticed later that I had taken the Indicator Name out after getting a compile error so when you right-clicked there was no name on the indicator. I think I have fixed that. As a bonus, I've added alerts. They seem to work. Revised indicator attached.
All files in topic