[GnuB] Listing of the PDB

View: New views
2 Messages — Rating Filter:   Alert me  

[GnuB] Listing of the PDB

by Dalton S. Spence :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I just downloaded the latest GIMP installer (2.4.6) and successfully
installed it and the help system (YES!) on my laptop yesterday. As a
former programmer I am very interested in the scripting language, so
I was a bit disappointed to discover that there was no way to extract
procedure names from the PDB browser. I prefer to use a familiar text
editor for programming that allows me to set up custom syntax high-
lighting files showing selected keywords in specific colors, and
while I was able to cull built-in procedures/variables from the SIOD
site at http://www.cs.indiana.edu/scheme-repository/imp/siod.html, it
would nice to have an ASCII text file with the GIMP procedure names
to add to my keyword highlighting set. (Heck, I'd settle for being
able to copy individual procedure names from the PDB browser to the
Windows clipboard so I could paste them into my scripts without
risking typos.)

This probably seems a bit odd to most of you, but when it comes to
art I'm very much a numbers kind of guy (which may explain that while
I've been using GIMP to edit raster images for years, my graphics
programs of choice to date have mostly been vector based ;)). I don't
have a very steady hand (or eye) even watching the coordinate box
carefully and cranking the mag up to the max, so maybe being able to
program the result will get me to use GIMP more often.

--

Dalton "who probably shouldn't take on another hobby right now" Spence


Re: [GnuB] Listing of the PDB

by Dalton S. Spence :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thursday, August 21, 2008 10:21 PM, *I* wrote;

>I just downloaded the latest GIMP installer (2.4.6) and successfully
> installed it and the help system (YES!) on my laptop yesterday. As a
> former programmer I am very interested in the scripting language, so
> I was a bit disappointed to discover that there was no way to extract
> procedure names from the PDB browser. I prefer to use a familiar text
> editor for programming that allows me to set up custom syntax high-
> lighting files showing selected keywords in specific colors, and
> while I was able to cull built-in procedures/variables from the SIOD
> site at http://www.cs.indiana.edu/scheme-repository/imp/siod.html, it
> would nice to have an ASCII text file with the GIMP procedure names
> to add to my keyword highlighting set. (Heck, I'd settle for being
> able to copy individual procedure names from the PDB browser to the
> Windows clipboard so I could paste them into my scripts without
> risking typos.)

<bangs head against wall> Well as usual, I found the answer to my question
on the list by myself only a couple of hours after I made this first post.
It was, of course, waiting for me in the PDB browser, under
"gimp-procedural-db-dump". I also discovered that when the browser is
launched from the Script-Fu Console, there is a neat little "Apply" button
that lets you send the procedure template back to the command line to fill
out. <bang!> Oww! Anyway, I'm going to have to write a macro for my text
editor to do this regularly; in the single day since I started browsing it,
several new procedures were added to the database. (I also need some
pointers on Script-Fu I/O procedure protocols; I had to go hunting for my
dump file since it didn't end up where I thought it would. ;))

--

Dalton "Is it a bad sign when you start replying to your own introductory
messages?" Spence