Copy link to clipboard
Copied
Hi,
I have an existing custom guide layout and there is no way to save the layout simply by pressing a save option in the submenus shown in the attachment.
It appears you have to go to the sub-menus first before creating the guide layout in the first place, and then painstakingly enetre in the measurement numerical value of each guide.
This guide in the attachment was created by dragging from the ruler edges, like you normally do. And I just want to now save it in one click, like anything else.
Reagrds Wayne
Copy link to clipboard
Copied
in the future, to find the best place to post your message, use the list here, https://community.adobe.com/
p.s. i don't think the adobe website, and forums in particular, are easy to navigate, so don't spend a lot of time searching that forum list. do your best and we'll move the post (like this one has already been moved) if it helps you get responses.
<"moved from cc desktop">
Copy link to clipboard
Copied
That's right, as you have discovered, the way to create a guide layout is to use the interface, you can't save existing guides into a guide layout.
Do you need this guide structure for other documents that are the same canvas width and height in pixels?
Or does the position change depending on the canvas size? Such as a relative 10% from the edge rather than a fixed px value?
Copy link to clipboard
Copied
Well, I have about 15 dam construction illustrations and all need the same border motifs design layout, like a handrawn plaque.
Anyway, I'm just doing it my usual way I've done for years , which is to use the background layer of the first one as a template which saves the guide layout with it .
Just seems wierd that you can save just about every tool setting, but not the guides. why?
Because most of the time I set up guides on the fly, just by dragging from the ruler.
No biggy.
Thanks everyone for input.
Copy link to clipboard
Copied
It appears that you are using the term "guide layout" as a generic term, however, a guide layout is a specific Photoshop feature.
If you are not using the guide layout feature, you can setup the rulers to work in px or % and record an action to capture your unique guide positions for use on other documents.
Copy link to clipboard
Copied
That would be another way. Just record it as an Action.
Thanks.
Still seems wierd that after 40 yrs of Adobe it hasnt occured to any Developer to add such a basic function.
Copy link to clipboard
Copied
Still seems wierd that after 40 yrs of Adobe it hasnt occured to any Developer to add such a basic function.
»40 yrs« may be applicable to Adobe but obviously not to Photoshop.
Copy link to clipboard
Copied
One can »transfer« guides to another file (or rather recreate them) via Script.
So the questions @Stephen_A_Marsh posed are indeed relevent.
edit: An example:
// take guides from active document and add them to other open documents after removing their existing guides;
// 2013, use at your own risk;
#target photoshop
if (app.documents.length > 0 && app.activeDocument.guides.length > 0) {main()};
////// function //////
function main () {
// set to pixels;
var myDocument = app.activeDocument;
var originalRulerUnits = app.preferences.rulerUnits;
app.preferences.rulerUnits = Units.PIXELS;
// collect guides;
var theArray = new Array;
for (var m = 0; m < myDocument.guides.length; m++) {
theArray.push([myDocument.guides[m].coordinate, myDocument.guides[m].direction])
};
app.preferences.rulerUnits = originalRulerUnits;
// get all open documents;
var theDocs = app.documents;
for (var o = 0; o < app.documents.length; o++) {
var thisDocument = app.documents[o];
// proceed if not original document;
if (thisDocument != myDocument) {
app.activeDocument = thisDocument;
var originalRulerUnits = app.preferences.rulerUnits;
app.preferences.rulerUnits = Units.PIXELS;
// remove existing guides;
for (var n = thisDocument.guides.length-1; n >=0; n--) {
thisDocument.guides[n].remove()
};
// add guides;
for (var p = 0; p < theArray.length; p++) {
thisDocument.guides.add(theArray[p][1], theArray[p][0]);
};
app.preferences.rulerUnits = originalRulerUnits;
};
};
};
Copy link to clipboard
Copied
I just looked at this and its trivial to save guide positions to a file and then load those into a new document via scripting.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
That's not how guide layouts work, anyway. They define columns and rows, and not arbitrary guides.
This has to be scripted.