I miss the 2.10 ability to move a script into the scripts folder and refresh without having to restart Gimp as well. My views on script-fu are well known - hate it but I still can not get my head around Gimp 3 python which just looks a jumble to me.
For a simple procedure, you can run a scm as a plugin (in its own folder) starting with a shebang #!/usr/bin/env gimp-script-fu-interpreter-3.0 The same (simple) without the shebang also works in the scripts folder. I use the attached quick-save-webp.scm to export and mark image as clean. All it does is dump a webp in home (linux) or User\your_id (win).
There are several script-fu's around as better examples. The other one in the attachment rename-layers.scm from Mark Sweeney is heavily commented and worth a look.
For a simple procedure, you can run a scm as a plugin (in its own folder) starting with a shebang #!/usr/bin/env gimp-script-fu-interpreter-3.0 The same (simple) without the shebang also works in the scripts folder. I use the attached quick-save-webp.scm to export and mark image as clean. All it does is dump a webp in home (linux) or User\your_id (win).
There are several script-fu's around as better examples. The other one in the attachment rename-layers.scm from Mark Sweeney is heavily commented and worth a look.