[Question] Updating an Icon immediately after a skin refreshes based on a calc

Question

Hey all.

I currently have a dock that I'm adding some functionality to - it's based off the "Mond" recycle bin which I think many have seen before.

Simply put, a calc is done on the recycle bin plugin to see if it's empty or full, and then i hide/show an icon (one for an empty bin, one if it's full).

Currently, this is all functional - except that I have to rollover the icon and manually update it before it reflects things properly after refreshing the skin. Once it's been rolled over once, it updates correctly based on the status of the bin, if i delete or add things, etc.

Is there a way to get this calculation to update things properly first thing after the skin is loaded/refreshed? I've tried adding update/updatemeter/updatemeasure bangs to various things but I'm not having any luck.

Posted Apr 1, 2020, 4:40 AM UTC

20

No comments yet

Nobody commented on this post, or the comments weren't captured.