Alan Horkan wrote:
On Wed, 15 Dec 2004, Bob Jamison wrote:
Now we need to make a dialog to load and execute scripts in either Perl or Python. Would there maybe be a user who is interested in GUIs, who would like to draw a mockup of what such a dialog might look like? (that's a lot of subjunctives in one sentence ;-)
presumably you want a menu item Tools,
- Plugins...
or suchlike (* being the stock icon that looks like a machine cog) and a dailog with a list that looks something like this:
Enable | Name | Type
[] foo Python Plugin [] bar Python Plugin [] baz Perl Plugin [] Monkey monkey monkey Perl Plugin [] Monkey monkey monkey Python Plugin
[ + Add ] [ - Remove ] [ ? Properties ]
Well, this one is more like Gimp's script-foo extensions, that any user can write. But yes, I can see maybe having a bit of metadata associated with each script to help find the right one.
And it might be better this way, than having a file-selector-type widget pluck a script from a directory.
However the scripts are accessed, in the end it will be just like: python something.py or perl something.pl
...as if someone typed that on the command-line, but the scripts will be able to reference things internal to the editor.
Bob