Highlighted

How to lock guides by default in Photoshop?

Community Beginner ,
Dec 20, 2019

Copy link to clipboard

Copied

Is there anyway how to lock guides by default? Everytime I open Photoshop I have to re-lock guides to avoid moving them accidentally. Is there anyway to this? Please help.

 

 

{Thread title modified by moderator}

TOPICS
FAQ, Feature request, How to, Windows

Views

135

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

How to lock guides by default in Photoshop?

Community Beginner ,
Dec 20, 2019

Copy link to clipboard

Copied

Is there anyway how to lock guides by default? Everytime I open Photoshop I have to re-lock guides to avoid moving them accidentally. Is there anyway to this? Please help.

 

 

{Thread title modified by moderator}

TOPICS
FAQ, Feature request, How to, Windows

Views

136

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Dec 20, 2019 0
Adobe Employee ,
Dec 20, 2019

Copy link to clipboard

Copied

Hi there,

 

We do not have a way to lock the guides in Photoshop by default. You can use the keyboard shorcut to lock the guides when you launch Photoshop.

 

You can submit this as a feature request here: https://feedback.photoshop.com/photoshop_family/categories/photoshop_family_photoshop

 

This forum is monitored by our developers. They can check the feasibility of the feature and may include it in a future update.

 

Regards,

Nikunj

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 20, 2019 0
Adobe Community Professional ,
Dec 20, 2019

Copy link to clipboard

Copied

I second the advice from Nikunj. The only other alternative that I can think of is to create a single-step action to lock guides. Next, set up the Script Events Manager to play this action when Photoshop is opened and when a new document is opened etc.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 20, 2019 0
New Here ,
Oct 16, 2020

Copy link to clipboard

Copied

Lock guides cannot be recorded in action

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 16, 2020 0
Adobe Community Professional ,
Oct 16, 2020

Copy link to clipboard

Copied

I never mentioned "recording" the lock guides command...

 

lock.png

 

You are correct, it can't be "recorded", however, it can be inserted into an action.

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 16, 2020 0
Adobe Community Professional ,
Oct 16, 2020

Copy link to clipboard

Copied

And here is a scripted version:

 

 

lockGuides();

function lockGuides() {
	var c2t = function (s) {
		return app.charIDToTypeID(s);
	};
	var s2t = function (s) {
		return app.stringIDToTypeID(s);
	};
	var descriptor = new ActionDescriptor();
	var reference = new ActionReference();
	reference.putEnumerated( s2t( "menuItemClass" ), s2t( "menuItemType" ), s2t( "toggleLockGuides" ));
	descriptor.putReference( c2t( "null" ), reference );
	executeAction( s2t( "select" ), descriptor, DialogModes.NO );
}

 

Or the more concise 1 liner:

 

app.runMenuItem(stringIDToTypeID('toggleLockGuides'));

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 16, 2020 0