1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
#!/usr/bin/env gimp-script-fu-interpreter-3.0
; Test non-canonical name for PDB procedure
; gimp-script-fu-interpreter does not enforce canonical name.
; Other parts of GIMP (PDB) does not enforce canonical name
; for PDB procedures defined by .scm scripts.
; Canonical means starts with "script-fu-"
; Here the name doesn't, its just "test7"
; Expect "Test>Test SF interpreter 7" in the menus
; Expect when chosen, message on GIMP message bar.
(define (test7)
(gimp-message "Hello test7")
)
(script-fu-register "test7"
"Test SF interpreter 7"
"Just gives a message from Gimp"
"lkk"
"lkk"
"2022"
"" ; all image types
)
(script-fu-menu-register "test7" "<Image>/Test")
|