Previous | Next

2-part Registration

(script-fu-register "script-fu-helloworld"
<- can put menu path here  "_Hello World..."
  "Creates an image with a text string."
<- author  "Kevin Cozens <kcozens@interlog.com>"
<- copyright owner  "Kevin Cozens"
  "February 29, 2004"
<- image type, e.g. "RGB*", or none  ""
  SF-STRING     "Text"      "Hello, World!"
  SF-FONT       "Font"      "Sans"
  SF-ADJUSTMENT "Font size" '(100 2 1000 1 10 0 1)
  SF-COLOR      "Color"     '(0 0 0)
)

(script-fu-menu-register "script-fu-helloworld"
  "<Toolbox>/Xtns/Languages/Script-Fu/Test")