Previous | Next

Script-fu Registration

(script-fu-register "script-fu-hello"
 "Hello World (SF)..."
 "Creates an image with a text string."
<- author "Yourname <you@there.com>"
<- copyright owner "Yourname"
 "May 27, 2010"
<- image type, e.g. "RGB*", or none ""
 SF-STRING     "Text"      "Hello, World!"
 SF-FONT       "Font"      "Sans"
 SF-ADJUSTMENT "Font size" '(100 2 500 1 10 0 1)
 SF-COLOR      "Color"     '(0 0 0)
)

(script-fu-menu-register "script-fu-hello"
  "<Image>/File/Create")