CINXE.COM

2.聽Using Script-Fu Scripts

<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>2.聽Using Script-Fu Scripts</title> <link rel="stylesheet" href="gimp-help-plain.css" type="text/css" /> <link rel="stylesheet" href="gimp-help-screen.css" type="text/css" /> <link rel="stylesheet" href="gimp-help-custom.css" type="text/css" /> <link rel="alternate stylesheet" href="gimp22.css" type="text/css" title="gimp22" /> <meta name="generator" content="DocBook XSL Stylesheets V1.75.2" /> <link rel="home" href="index.html" title="GNU Image Manipulation Program" /> <link rel="up" href="gimp-scripting.html" title="Chapter聽13.聽Scripting" /> <link rel="prev" href="gimp-scripting.html" title="Chapter聽13.聽Scripting" /> <link rel="next" href="install-script-fu.html" title="2.2.聽Installing Script-Fus" /> </head> <body> <div class="navheader"> <table width="100%" summary="Navigation header"> <tr> <th colspan="3" align="center">2.聽Using Script-Fu Scripts</th> </tr> <tr> <td width="20%" align="left"> <a accesskey="p" href="gimp-scripting.html"> <img src="images/prev.png" alt="Prev" /> </a> </td> <th width="60%" align="center">Chapter聽13.聽Scripting</th> <td width="20%" align="right">聽<a accesskey="n" href="install-script-fu.html"><img src="images/next.png" alt="Next" /></a></td> </tr> </table> <hr /> </div> <div class="sect1" title="2.聽Using Script-Fu Scripts"> <div class="titlepage"> <div> <div> <h2 class="title" style="clear: both"><a id="gimp-concepts-script-fu"></a>2.聽Using Script-Fu Scripts</h2> </div> </div> </div> <a id="idp19738304" class="indexterm"></a> <div class="sect2" title="2.1.聽Script-Fu?"> <div class="titlepage"> <div> <div> <h3 class="title"><a id="idp7864144"></a>2.1.聽Script-Fu? </h3> </div> </div> </div> <p> Script-Fu is what the Windows world would call "macros" But Script-Fu is more powerful than that. Script-Fu is based on an interpreting language called Scheme, and works by using querying functions to the <acronym class="acronym">GIMP</acronym> database. You can do all kinds of things with Script-Fu, but an ordinary <acronym class="acronym">GIMP</acronym> user will probably use it for automating things that: </p> <div class="itemizedlist"> <ul class="itemizedlist" type="disc"> <li class="listitem"> <p>You want to do frequently.</p> </li> <li class="listitem"> <p>Are really complicated to do, and hard to remember.</p> </li> </ul> </div> <p> Remember that you can do a whole lot with Script-Fu. The scripts that come with <acronym class="acronym">GIMP</acronym> can be quite useful, but they can also serve as models for learning Script-Fu, or at least as a framework and source of modification when you make your own script. Read the Script-Fu Tutorial in the next section if you want to learn more about how to make scripts. </p> <p> We will describe some of the most useful scripts in this chapter, but we won't cover them all. There are simply too many scripts. Some of the scripts are also very simple and you will probably not need any documentation to be able to use them. </p> <p> Script-Fu (a dialect of Scheme) isn't the only scripting language available for <acronym class="acronym">GIMP</acronym>. But Script-Fu is the only scripting language that is installed by default. </p> </div> </div> <div class="navfooter"> <hr /> <table width="100%" summary="Navigation footer"> <tr> <td width="40%" align="left"><a accesskey="p" href="gimp-scripting.html"><img src="images/prev.png" alt="Prev" /></a>聽</td> <td width="20%" align="center"> <a accesskey="u" href="gimp-scripting.html"> <img src="images/up.png" alt="Up" /> </a> </td> <td width="40%" align="right">聽<a accesskey="n" href="install-script-fu.html"><img src="images/next.png" alt="Next" /></a></td> </tr> <tr> <td width="40%" align="left" valign="top"><a accesskey="p" href="gimp-scripting.html">Chapter聽13.聽Scripting</a>聽</td> <td width="20%" align="center"> <a accesskey="h" href="index.html"> <img src="images/home.png" alt="Home" /> </a> </td> <td width="40%" align="right" valign="top">聽<a accesskey="n" href="install-script-fu.html">2.2.聽Installing Script-Fus</a></td> </tr> </table> <a href="https://bugzilla.gnome.org/enter_bug.cgi?product=GIMP-manual" class="reportbug"> Report an error in Bugzilla </a> </div> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10