On Close Application Event Action

Ok I am editting google sketchups base and I have built a ruby plugin
however I want an event to happen on close.

So when you open sketchup it opens somthing called a components panel
which I am doing with,

status = UI.show_inspector "Components"

But then I want it to Hide the Components panel when sketchup is closed.
any ideas anyone?

Simon Staton wrote:

Ok I am editting google sketchups base and I have built a ruby plugin
however I want an event to happen on close.

[...]

Then you might have better luck asking on the Sketchup development list
or the general Ruby list. This is the Rails list, and you don't appear
to be using Rails here (right?).

Best,