There is some templates to start your script at http://registry.gimp.org/node/5969
After that a simple Gimp script in Python is like in Scheme, you add the Gimp procedures from the database in the Python way, like pdb.gimp_procedure( parameters). Except run_mode parameter who can be ignored at the beginning.
Ah ! and don't forget to change all '-' to '_' because Python does'nt accept '-' in names.
Of course later you will be able to do much more by using all Python objects and libraries.
Yep, a tutorial-style introduction to python scripting would sure be helpful, especially as Python is now the "official" scripting language. The current documentation is more of a reference than an introduction.
It would be nice to have a tutorial that shows how to run GIMP Python scripts in IDLE for debugging purposes. Instead of having to run GIMP every time to test your script, hoping that it will load, because there is no log file to tell you why your script didn't load.
I found once the script is registered I can modify it, save over the script in the plug-ins folder and run the new version immediately while only changes to the registrations required a restart.
Also python documentation including some beginner documentation is available from the Python web site and in the Python folder of the Start Menu. You can also access it through both the Python Shell and Idle help menus.
There is some templates to
"me too"
A Windows IDLE tutorial would be great also
If you launch gimp from
I found once the script is
Correct...