HOME | DD

Published: 2008-02-14 14:17:40 +0000 UTC; Views: 7806; Favourites: 34; Downloads: 1130
Redirect to original
Description
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.
Art
Related content
Comments: 17
ibolt73 [2020-04-15 15:42:15 +0000 UTC]
👍: 0 ⏩: 0
OkojoUchiha [2012-08-15 22:14:53 +0000 UTC]
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?
👍: 0 ⏩: 0
akkadia2 [2011-07-06 20:52:40 +0000 UTC]
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
👍: 0 ⏩: 1
CryingWolfe In reply to akkadia2 [2011-10-03 08:25:37 +0000 UTC]
i think for mac it calls leopard..
👍: 0 ⏩: 0
JemmuelJasminJr [2010-08-15 03:29:49 +0000 UTC]
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)
👍: 0 ⏩: 0
TastesLikePurple [2010-07-31 13:56:19 +0000 UTC]
I'm going to give it a shot. A million thank you's for this excelllent resource.
👍: 0 ⏩: 0
fence-post In reply to Hopelessly-Me [2009-03-10 13:44:40 +0000 UTC]
There should be a section in the tutorial that describes how to do that. I believe I used Scriptina as an example.
👍: 0 ⏩: 0
Jniffer [2008-02-16 00:02:14 +0000 UTC]
oh yay! does this show how to save the scripts? .
thank you!!!!!!!!!!!!!!!!!!!!!!
👍: 0 ⏩: 2
fence-post In reply to Jniffer [2008-02-19 17:23:17 +0000 UTC]
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.
Art
👍: 0 ⏩: 1
fence-post In reply to a2j3 [2008-02-19 17:27:20 +0000 UTC]
Glad you like it! You're very welcome!
Art
👍: 0 ⏩: 0
needcoffee [2008-02-14 15:07:09 +0000 UTC]
Thank you, this is a great entrance into GIMP scripting.
👍: 0 ⏩: 1
fence-post In reply to needcoffee [2008-02-19 17:24:36 +0000 UTC]
Glad you like it! Let me know if you have any questions.
Art
👍: 0 ⏩: 0