[Plugin] Simple Plugin Installer
-
Thanks thomthom ! This a very good idea.
However, if I rename your script with a leading '!', which is so that it loads very early and thereby puts the new submenu item at the start of the Plugins menu list, I find that it fails to load - with an error message at startup.
This is because the module 'TT' has not [yet] been defined: however, some later installed 'tt_' toolsrequire 'TT_Lib2/core.rb'
that will then define it; so it works if it's left with its original name, because it loads after those, BUT of course then it's submenu item is buried in the rest of the Plugins list.
This means that your new tool needs'TT_Lib2'
[and it would therefore benefit from arequire 'TT_Lib2/core.rb' being added to it
] - BUT currently the download page doesn't say this or have a link to get it...
OR [better I think] you could to redefine the module so it is independent of 'TT' - naming it say 'module TT_SimpleInstaller
' ? [I don't think it uses any of the TT_Lib_2's functions anyway ?]Currently I've renamed the module this way and added the '!' to the start of the file name and it works well.
-
Ah! That's a silly bug!
I'll fix that asap! Done!
-
If only the Ruby API wasn't so limited...
I'd ideally like to be able to select multiple files and/or folders. Also wish the file pattern filter wasn't bugged so one could combine multiple file patterns...
-
Idea... ...using HTML5, a webdialog can act as a drop pad for files. Just dump a selection of files, rbz, zip or plain rb files and install in bulk!!
-
Thomas, this is a great idea! Is it possible for the plugin to also run load"plugin_name.rb" after copying the file and installing it into the Plugins folder?
-
@dave r said:
Thomas, this is a great idea! Is it possible for the plugin to also run load"plugin_name.rb" after copying the file and installing it into the Plugins folder?
Capital idea ol' chum!
-
@thomthom said:
Idea... ...using HTML5, a webdialog can act as a drop pad for files. Just dump a selection of files, rbz, zip or plain rb files and install in bulk!!
Yep, but it would make a better stand-alone "Drop Pad" plugin that can dispatch various file types to user-configurable plugins.
-
@jim said:
@thomthom said:
Idea... ...using HTML5, a webdialog can act as a drop pad for files. Just dump a selection of files, rbz, zip or plain rb files and install in bulk!!
Yep, but it would make a better stand-alone "Drop Pad" plugin that can dispatch various file types to user-configurable plugins.
You mean being able to configure what plugin to handle what fileformat?
-
Yeah, but the downside is that the plugins that handle the file types would likely all need modified to handle the Drop Pad dispatcher.
-
Well, it won't be doable until IE10 is released anyway...
-
@jim said:
Yeah, but the downside is that the plugins that handle the file types would likely all need modified to handle the Drop Pad dispatcher.
hm... you meant for the pad to dispatch to existing plugins...?
-
any plans to further advance this into a full fledged plugin manager that allows u to uninstall plugins too?
-
@john2 said:
any plans to further advance this into a full fledged plugin manager that allows u to uninstall plugins too?
Nope! It's too big of a project - I have too many other projects on my hand. But Dana is working such a manager.
-
-
It is under development - along side with a plugin repository.
-
-
@thomthom said:
It is under development - along side with a plugin repository.
no beta version ..link 4 download??
-
Just relax. It'll be available when it is available.
-
@john2 said:
@thomthom said:
It is under development - along side with a plugin repository.
no beta version ..link 4 download??
Keep an eye on this site: http://www.extendsketchup.com/
As Dave said - it's done when it's done. He's working on it along side his full time job - like I do. Making it very hard to promise a deadline. (It's hard even if it is your full time job any way... )
-
Hmm.... IE10 might not come until Windows8 is out... I hope it comes earlier - as I think Windows 8 comes late this year.
Advertisement