12-10-2022, 12:10 PM
I have a problem related to this, so I hope it is okay if I reply in this thread.
I tried to modify this script to get a reference if it is started while an image is active.
These parts got modified.
1.
an additional line
in script-fu-register, so it now looks like this
2.
got modified to
However after saving this and refreshing the scripts the menu entry for the script disappeared. Now I'm stuck.
I tried to modify this script to get a reference if it is started while an image is active.
These parts got modified.
1.
an additional line
Code:
SF_IMAGE "image" "whatever" ;image variable
in script-fu-register, so it now looks like this
Code:
"" ;image type that the script works on
SF_IMAGE "image" "whatever" ;image variable
SF-STRING "Text" "Text Box" ;a string variable
2.
Code:
(define (script-fu-text-box inText inFont inFontSize inTextColor inBufferAmount) ...
got modified to
Code:
(define (script-fu-text-box inImage inText inFont inFontSize inTextColor inBufferAmount) ...
However after saving this and refreshing the scripts the menu entry for the script disappeared. Now I'm stuck.