Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Automation to create new buttons: Script,plugin, or macro?
#2
(02-24-2022, 04:42 AM)gimphusker Wrote: https://turbofuture.com/graphic-design-v...28tutorial
I am a mid-newbie when it comes to gimp.
I want to make several of the buttons with the instructions from the link above  in various colors , shapes (Rectangles or squares) with different patterns as needed.  I would like to make the button once in some kind of a script so when I wanted a different pattern or color, I could edit the script with colors and/or patterns and it would create a new button for me.  Or am I making the process too simplistic and it can’t be done.
Please,point me in the right direction.  Thanks!

Typically you don't edit the script each time you want a change. You create a script that accepts parameters that define things like size, color to use, pattern to use... and tell Gimp about these in the script registration. When you call the script from a Gimp menu Gimp automaticaly builds a dialog with buttons to pick a color (using Gimp's color selector), a pattern (in Gimp's pattern collection), etc...
Reply


Messages In This Thread
RE: Automation to create new buttons: Script,plugin, or macro? - by Ofnuts - 02-24-2022, 11:31 AM

Forum Jump: