Skip to main content
Participant
March 16, 2023
Open for Voting

Automatic Units and Rulers Photoshop

  • March 16, 2023
  • 7 replies
  • 529 views

Is it possible to automatically change the Units and Rulers preferences based on the workspace you're using when you open photoshop? 

 

ie. Automatically changing the units and rulers to pixels if you're working on a digital or web document, then changing to millimetres when working on print documents. 

 

At the moment this has to be changed manually. Which can be a headache when you're constantly switching between print and digital documents.

 

This feature is available in Indesign and Illustrator but not photoshop.

 

Cheers! 

7 replies

jane-e
Community Expert
Community Expert
March 16, 2023
Automatically changing the units and rulers to pixels if you're working on a digital or web document, then changing to millimetres when working on print documents. 
By @nickbentley94

 

 

I could only vote for this idea if print documents defaulted to Picas as they do in InDesign or Points as they do in Illustrator. Gutenberg developed an amazing system and we still use most of his ideas today. Sorry, but I could never work in millimeters — or inches!

 

Jane

Known Participant
March 16, 2023

Good idea

Stephen Marsh
Community Expert
Community Expert
March 16, 2023

What version do you use?

 

There might be way to do so via the Script Events Manager on a new doc... If the new doc resolution is 72ppi then set the ruler units to pixels, or if greater than 72ppi or another number such as 300ppi then set the ruler units to CM or MM or INCHES etc.

 

Edit: Something like this code (which is a bit simplistic, more conditional resolution thresholds could be added for greater flexibility) –

 

// INTENDED FOR USE WITH THE SCRIPT EVENTS MANAGER NEW DOCUMENT EVENT

#target photoshop

if (activeDocument.resolution < 300) {
    // Web ruler units
    app.preferences.rulerUnits = Units.PIXELS;
} else {
    // Print ruler units
    app.preferences.rulerUnits = Units.MM; // or CM or INCHES
}

 

https://prepression.blogspot.com/2017/11/downloading-and-installing-adobe-scripts.html

 

Stephen Marsh
Community Expert
Community Expert
March 16, 2023

@nickbentley94 wrote:

 

Hey Stephen, 

 

Yep it's when creating a new file! 


 

Ah, then ignore what I wrote about workspaces then! :]

Participant
March 16, 2023

Hey Stephen, 

 

Yep it's when creating a new file! 

Stephen Marsh
Community Expert
Community Expert
March 16, 2023

Just to confirm...

 

Do you mean File > New (using document type presets, Internationl Paper, Web etc)?

 

Or do you mean Window > Workspace (Photography, Graphic and Web etc)?

Stephen Marsh
Community Expert
Community Expert
March 16, 2023

I know that this is an idea/feature request, so I have voted.

 

Until such a feature is available, this could be scripted (an action could probably do it as well).

 

I am not aware of an event trigger that could be listened for when using the Window > Workspace menu items, so I'm not sure if it could be automated this way...

 

However a script could call the required workspace and then set the ruler units accordingly, however, it would have to be run from another menu such as File > Scripts or File > Automate etc.