Close plugin automatically?

There is a solution in the topic that I linked. Specifically this post:

This toggles the panel, so you just need to check the state and close if it’s open

1 Like