Another plugin idea
-
I was thinking to a plugin that traces how much plugins that user have installed are used and make sort of statistic. I'm thinking this could be useful for any user to see what plugins are less used. This idea came to me when I made some cleaning in my plugins folder. Several nice plugins that tempted me at the time, but I never used them... especially some of which don't have icons, just menu entries, so I don't see all the time and I forget about them.
Of course the idea could be refined. I just throw the bait -
Not sure if you can detect or track which plugin or function is used...
I've been playing with an idea of hooking into the menu and toolbar creations - in order to make a UI manager. That could maybe intercept the commands triggered and build a statistic.
But it's a far from trivial thing to do - something I've just looked at at an very experimental stage. I wouldn't have anything ready for quite a while. Might fall though all together as messing about with that could fail horribly... -
Maybe you are right. Plugins that have tool can be simple, as you can record the time for each active tool and then make a log. But there are plugins that do some operations with the geometry and those can be difficult to track how many times were activated in a certain amount of time.
-
Yea - and the ToolObserver doesn't give the name of the Ruby tool in use. (AFAIK)
I think most plugins doesn't use a tool - which is why I think you have to hook into the menu and toolbar commands.
(I could be wrong. Maybe there is a way...)
Advertisement