Have you considered writing a simple program to create the needed .plgu preset file? It's probably easier to decode the structure of .plgu files than to learn a PL Guides API. (And it would be much easier for the Hubers to explain/document the .plgu file structure than to write and document a corresponding API.)Herbert123 wrote:I could probably write a grid generator in a scripting language in less time than it takes me to create two or three 24 column grids with gutters in Photoline. And I would have done this a long time ago if Photoline offered us a scripting API.
Talking about this, I'd really love to see PL adopt xml formatted settings files – they would be mostly self-documenting and could even be modified in a text editor. Having been able to edit the Photoline.xml settings file has proved very useful a couple of times.
Btw., it's still not clear to me what your intended automatic guide creation tool is supposed to do, exactly. Shoudl it look like the "Create Text Columns" part in the "Create Document" pane, just with rows and vertical spacing between the rows added (and creating guides rather than text columns, of course)?
There are also a number of useful tricks to create evenly spaced guides. Create the corresponding column pattern using rectangles (you only need the columns), move the left and right one into place and use "Distribute Layers Equally" to place the rest, then align your guides to the rectangles. Repeat for the rows. Takes a few minutes, not an hour.