Deviant Login Shop  Join deviantART for FREE Take the Tour


Submitted on
February 14, 2008
File Size
42.8 KB


31 (who?)


Creative Commons License
Some rights reserved. This work is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.
GIMP Scripts "Mad Lib" Style by fence-post GIMP Scripts "Mad Lib" Style by fence-post
Does GIMP scripting interest you, but scare you to death at the same time? Well, if it does, this tutorial is for you! In this tutorial, I show you a simple, but fun way to script. I call it "Mad Libs" style because, just like the Mad Libs game, you fill in the appropriate blanks and, instead of funny story at the end, you get a fully-functional script that works just the way you want it to. No scripting knowledge is required. In fact, I show you line-by-line what to change.

The script we create allows you to change many of GIMP's defaults with a single click. The defaults include changing the foreground/background colors, the font, the brush, the pattern, and gradient. So, if you have a favorite setup you like to use for sig making, you can get to it with the click of a button. If you have a favorite setup you like for your larger pieces, you can set one up for that. If you just want to easily get all the "Normal" defaults back with the click of a button, set one up for that too. You can have as many as you want.

Click on the Download link to the left to download a zip file. In the zip file you will see an html file, an Images folder, and the template script (MyDefaults.scm). Copy and paste (or drag and drop) all of the zip file contents to the same location on your harddrive. Then, double-click the html file to open the tutorial. The Image folder contains all of the images for the tutorial. As long as the images folder and html file are in the same location, you'll be able to see the images in your web browser.

Have fun "Mad Lib" Scripting.

Let me know if you have any questions or run into any snags.

Add a Comment:
OkojoUchiha Aug 15, 2012
I know this is offtopic... but. The pattern you used in the back of the GIMP icon. Is it downloadable? Or atleast, what is it called?
does anybody know how to get python-fu working on a mac. They seem to be in the right place (plug-ins folder) but do not appear in GIMP. Is there anyone there who can help me. I am using Mac OS X 10.6.8 and GIMP 2.6.11
CryingWolfe Oct 3, 2011  Hobbyist Traditional Artist
i think for mac it calls leopard..
rjcommando Aug 14, 2010  Student General Artist
ive got a question

for the "MyDefaults.scm" file, what do you use to open it? (first time doing this and i dont recognize the extension XD)
I'm going to give it a shot. A million thank you's for this excelllent resource.
Do you know hoe to change the font?
There should be a section in the tutorial that describes how to do that. I believe I used Scriptina as an example.
Ohhhh .. Thank You !
oh yay! does this show how to save the scripts? :D.

thank you!!!!!!!!!!!!!!!!!!!!!!
It does show you how to save the scripts (which I assume is what you were referring to in my journal?). Hopefully, you'll be able to understand it. Let me know if you have any questions.

Add a Comment: