Initial checkin of Pika from heckimp
This commit is contained in:
31
plug-ins/script-fu/scripts/test/test0/test0.scm
Normal file
31
plug-ins/script-fu/scripts/test/test0/test0.scm
Normal file
@ -0,0 +1,31 @@
|
||||
#!/usr/bin/env pika-script-fu-interpreter-3.0
|
||||
|
||||
; Basic test of a .scm file interpreted by script-fu-interpreter
|
||||
;
|
||||
; Setup: copy this file w/ executable permission, and its parent dir to /plug-ins
|
||||
; Example: to ~/.pika-2.99/plug-ins/test0/test0.scm
|
||||
; (That is custom to one user.)
|
||||
|
||||
; Expect "Test>Test SF interpreter 0" in the menus
|
||||
; Expect when chosen, message on PIKA message bar.
|
||||
|
||||
; Also, remove the execute permission.
|
||||
; Then expect not appear in PIKA menus (not queried.)
|
||||
|
||||
; Also, make the name different from its parent dir.
|
||||
; Then expect not appear in PIKA menus (not queried.)
|
||||
|
||||
(define (script-fu-test0)
|
||||
(pika-message "Hello script-fu-test0")
|
||||
)
|
||||
|
||||
(script-fu-register "script-fu-test0"
|
||||
"Test SF interpreter 0"
|
||||
"Just gives a message from Pika"
|
||||
"lkk"
|
||||
"lkk"
|
||||
"2022"
|
||||
"" ; all image types
|
||||
)
|
||||
|
||||
(script-fu-menu-register "script-fu-test0" "<Image>/Test")
|
Reference in New Issue
Block a user