I am very new to scripting and programing but am doing my best to make a plugin that will complete multiple steps in succession for GIMP using script-fu.
The script I have written so far is as follows: (define (script-fu-macro-pmc-ack image layer) (gimp-image-undo-group-start image) (gimp-image-duplicate layer) (gimp-fuzzy-select drawable x y threshold operation antialias feather feather-radius sample-merged) (gimp-edit-cut drawable) (gimp-context-set-sample-transparent sample-transparent) (gimp-flip drawable flip-type) (gimp-drawable-transform-rotate drawable angle auto-center center-x center-y transform-direction interpolation supersample recursion- level clip-result) (gimp-image-undo-group-end image) (gimp-display-flush) ) (script-fu-register "script-fu-macro-pmc-ack" "<Image>/Tool/PMC Macro" "Protocol for PMC" "ACK" "ACK" "July 2019" "RGB*, GRAY*" SF-Image "Image" 0 SF-DRAWABLE "Layer" 0 ) I have a few questions: 1) I want an image to duplicate itself as a layer and then apply these changes to just ONE of the layers. Is this possible? 2) I also am unsure what my values should be for a few of my independent functions above. If someone could help me define those or understand those that would be greatly appreciated. 3) When I try to run this script or a smaller version of this script it gives me this error message: "Error while loading /Applications/GIMP-2.10.app/Contents/Resources/share/gimp/2.0/scripts/Practice 2.scm: Error: (/Applications/GIMP-2.10.app/Contents/Resources/share/gimp/2.0/scripts/Practice 2.scm : 23) eval: unbound variable: SF-Image" Why is it giving me this message an how should I go about fixing that? Thanks in advance! -- Sent from: http://gimp.1065349.n5.nabble.com/Users-f3.html _______________________________________________ gimp-user-list mailing list List address: gimp-user-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list List archives: https://mail.gnome.org/archives/gimp-user-list