GIMP - Script-fu

GIMP supports 2 scripting languages The GIMP documentation has a decent tutorial However, there is no information on debug (which is why I wrote this page).

Basics | Errors loading the code | Errors running the code


Basics

This is a basic template For xyz, I use my initials .. so I know it is a script I wrote.


Errors loading the code

These errors occur when Refresh Scripts is selected.


Errors running the code

Once your code is loaded, you can locate and click on the menu selection. At that time, a dialog box may be presented to load various parameters (but only if some are defined). These errors occur after you click OK in the dialog box. It appears that functions defined inside another function must be defined before they are called. However, functions can be defined in any order at the top level.

Most of the other errors I have seen are pretty straight forward and easy to understand.


Author: Robert Clemenzi
URL: http:// mc-computing.com / SystemTools / GIMP_fu_scripts.html