Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script-fu V3 plug-ins
#1
Just a heads up that if a Script-fu script is implemented as a V3 plug-in you can edit the script file whilst GIMP is running - you don't have to restart GIMP for the changes to take effect. This has been possible with Python scripts for a long time but disappeared when the Refresh Scripts menu option was dropped some time ago. It certainly makes debugging Script-fu scripts much less frustrating :-)

V3 .scm scripts that are plug-ins go into folders with the same names as the first part of the .scm file name (i.e. the part before .scm). These folders then go into the GIMP plug-ins folder, not the scripts folder.

Don't forget to delete the original version of the .scm file from scripts - GIMP complains if there is a plug-in and a script version at the same time.

The following links are useful when making .scm plug-ins - note in particular the use of 
Code:
#!/usr/bin/env gimp-script-fu-interpreter-3.0

at the top of the file

and 
Code:
(script-fu-use-v3)

at the start of the main function.

https://developer.gimp.org/resource/scri...deprecated

https://testing.developer.gimp.org/resou...script-fu/
Reply


Messages In This Thread
Script-fu V3 plug-ins - by programmer_ceds - 02-27-2025, 08:04 PM
RE: Script-fu V3 plug-ins - by Ofnuts - 02-28-2025, 12:35 AM
RE: Script-fu V3 plug-ins - by programmer_ceds - 02-28-2025, 05:36 PM
RE: Script-fu V3 plug-ins - by Ofnuts - 02-28-2025, 06:00 PM
RE: Script-fu V3 plug-ins - by programmer_ceds - 03-01-2025, 11:04 AM
RE: Script-fu V3 plug-ins - by MrsP-from-C - 02-28-2025, 03:28 PM

Forum Jump: