(07-02-2025, 06:39 PM)Frenchie Wrote:(07-02-2025, 01:53 PM)rich2005 Wrote:Quote:..."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"
Do you mean that in this case, there's no need to close Gimp and reopen it each time I make a change?
I ran a test: the change isn't taken into account if you don't close Gimp.
Works here. A simple observable example. https://i.imgur.com/d8NMTRX.mp4
I ran the test with the same file as you (quick-save-webp.scm) saved in the Gimp scripts directory:
- Open a Gimp 3.0 session
- Open an image file
- Run quick-save-webp from the Tools menu
- Edit the quick-save-webp.scm file with NotePad
- Save the file
- Run quick-save-webp from the Tools menu
The last update in quick-save-webp.scm file was not taken into account (it only happens if I close Gimp).
One clarification: I'm using a Windows 10 PC.
If it's in the scripts directory then it is a script. To work as a plugin it should be in the plug-ins directory.