How to activate plugins via script
Sometimes you have a whole bunch of plugins to install. No reason to keep your screen busy, you can script it, here's how.
Some smart person named Ashby posted about this. I haven't tested it out, but this seems promising and likely undocumented.
//you can check following URL to see if the work is finished. It is finished when the completion time is set and the percent complete is 100.
var plugins = ;
var main = new GlideMultiPluginManagerWorker();