2. Ús de scripts Script-Fu

2.1. Script-Fu?

Script-Fu scripts are similar to very powerful «macros» that you may be familiar with from other programs. Script-Fu is based on an interpreted language called Scheme, and works by using functions that interact with GIMP's internal functions. You can do all kinds of things with Script-Fu, but an ordinary GIMP user will probably use it for automating things that:

  • Voleu fer-ho sovint.

  • Són realment complicades de fer i difícils de recordar.

Remember that you can do a whole lot with Script-Fu. The scripts that come with GIMP 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 write your own scripts.

En aquest capítol es descriuen alguns dels scripts més útils, però no tots. Simplement perquè hi ha massa scripts. Alguns dels scripts són molt senzills, i no necessitareu documentació per poder-los fer servir.

L'Script-Fu (un dialecte de Scheme) no és l'únic llenguatge de script disponible pel GIMP. Però l'Script-Fu és l'únic llenguatge de script que s'instal·la per defecte.