Hi Walter - Script-fu is, as you know, a bastard dialect of Scheme, which is a Lisp variant. One of the problems in writing script-fu is finding a good reference manual for the Gimp's scheme implementation. Another is finding examples of good script-fu code.
You can find the scheme documents at http://www.cs.indiana.edu/scheme-repository/imp/siod.html (Note that the GIMP doesn't have all the functions listed in this manual, but it's close enough to work). For examples of script-fu in use, look at the scripts that come with the GIMP: $PREFIX/gimp/1.2/scripts/ or $PREFIX/gimp/1.3/scripts/ where $PREFIX is the path to your gimp installation (usually /usr or /usr/local). There are several references to script-fu tutorials on the gimp.org website as well. http://www.gimp.org/scripts.html And there is also a script-fu group on yahoo: http://groups.yahoo.com/group/script-fu/ Post message: [EMAIL PROTECTED] Subscribe: [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] List owner: [EMAIL PROTECTED] For writing scripts yourself, I would recommend starting with gimp-1.2.5 (the current stable version), and utililzing the PDB Explorer to help you figure out what arguments each function requires. I usually have it open in one window while I'm writing my script in an adjacent emacs window (YMMV). I find that the PDB Explorer is a real help, telling me what kinds of arguments, how many, and in what order. You should also look at the scripts that came with our gimp distribution. That is particularly useful for learning certain idioms (like the quickest way to anchor a floating selection, etc.) Feel free to mail me if you have more questions. -- --Jeff Jeff Trefftzs <[EMAIL PROTECTED]> http://www.tcsn.net/trefftzs Home Page http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery http://trefftzs.topcities.com/ Photo Gallery _______________________________________________ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user