Question

(define (script-fu-create-camo image colA colB))

(script-fu-register
    "script-fu-create-camo"
    "Camoflauge"
    "Creates a camoflauge pattern on an image"
    "Jeffrey Aylesworth <jeffrey@aylesworth"
    "Copyright (c) 2009 Jeffrey Aylesworth"
    "2009/12/31"
    ""

    SF-IMAGE "Image" 0
    SF-COLOR "Colour 1" '(50 0 0)
    SF-COLOR "Colour 2" '(0 50 0))

(script-fu-menu-register "script-fu-create-camo" "<Image>/Filters/Render")

I am using Gimp 2.6 on Mac OS 10.6. The script is saved as ~/gimp-2.6/scripts/camoflauge.scm, the script does not create a new item in the menu. What am I doing wrong?

Was it helpful?

Solution

I created a few script-fu scripts which I used on my mac. I always placed them in:

/Applications/Gimp.app/Content/Resources/share/Gimp/2.0/scripts/

And on my register I would prepend the "<Image>/Filters/Render" with an underscore, so _"<Image>/Filters/Render"

Hope this helps, been a while since I was messing with this.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top