Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
automate layer movement
#5
Heed Ofnuts advice, he is the professional. Odd indentations, commas  missing or in wrong place and other things will stop your script.

Most plugins/scripts I need have already been done, I am a great believer in not re-inventing the wheel. Occasionally I might configure something for my own use, and not being an expert, I keep a bare-bones script for testing.

You can keep things simple. If you know that parameters do not change, tile size, drawing size, you can put straight in and avoid declaring variables. A Press-and-Go

Nothing clever just to see what works, no error trapping, just a linear process, Offset -> Crop -> Add Guides -> Tile

Attached, might get you started. Unzip, put in your plugins folder, It registers in the tools menu.

It is about time that Gimp had a proper macro system. It is on the list for maybe 10 years time Wink


Attached Files
.zip   testing.zip (Size: 529 bytes / Downloads: 289)
Reply


Messages In This Thread
automate layer movement - by gimpygirl - 02-27-2024, 01:02 AM
RE: automate layer movement - by Ofnuts - 02-27-2024, 01:15 AM
RE: automate layer movement - by gimpygirl - 02-27-2024, 01:19 AM
RE: automate layer movement - by Ofnuts - 02-27-2024, 09:25 AM
RE: automate layer movement - by rich2005 - 02-27-2024, 05:01 PM
RE: automate layer movement - by gimpygirl - 02-27-2024, 05:19 PM
RE: automate layer movement - by nelo - 02-28-2024, 10:06 AM
RE: automate layer movement - by rich2005 - 02-27-2024, 05:39 PM
RE: automate layer movement - by gimpygirl - 02-27-2024, 06:02 PM
RE: automate layer movement - by rich2005 - 02-27-2024, 08:30 PM
RE: automate layer movement - by gimpygirl - 02-28-2024, 12:32 AM
RE: automate layer movement - by Ofnuts - 02-28-2024, 01:32 AM
RE: automate layer movement - by gimpygirl - 02-28-2024, 05:33 AM
RE: automate layer movement - by Ofnuts - 02-28-2024, 10:11 AM
RE: automate layer movement - by gimpygirl - 02-28-2024, 06:05 PM
RE: automate layer movement - by Ofnuts - 02-29-2024, 12:42 AM
RE: automate layer movement - by gimpygirl - 02-29-2024, 01:09 AM
RE: automate layer movement - by Ofnuts - 02-29-2024, 02:12 PM
RE: automate layer movement - by rich2005 - 02-28-2024, 07:13 PM
RE: automate layer movement - by gimpygirl - 02-29-2024, 12:04 AM

Forum Jump: