What's new
Photoshop Gurus Forum

Welcome to Photoshop Gurus forum. Register a free account today to become a member! It's completely free. Once signed in, you'll enjoy an ad-free experience and be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Reply to thread

I don't know if I'm doing it right, but before my code from script listener i put:


[CODE]#target photoshop;var doc = activeDocument;

var res = doc.resolution;

//change to 72 PPI

if(doc.resolution != 72)



var r = confirm("Document is not 72 PPI");

if (r == true) {

    x = doc.resizeImage(undefined, undefined, 72, ResampleMethod.NONE);

} else {

    x = "You pressed Cancel!";

}[/CODE]


but even If I click "yes" ppi is not changing, I know the ppi will return to previous state because of last line of code, but the measure results show me that they ere not taken in 72PPI :)


I hope that I've explained that correctly :)


What is our favorite program/app? (Hint - it begins and ends with the letter P)
Back
Top