Copy link to clipboard
Copied
Hello friends.
How to check Photoshop versions with scripts
I have a script here that I could only detect the CS3 version.
My version I currently use:
Adobe Photoshop Version: 22.1.0 20201125.r.94 2020/11/25:
How do I check this version?
if (parseInt(version, 10) ==10){alert("This is Photoshop CS3")}
Hello @Shulipa Bernad,
Try this...
var ThisPhotoshopVersion = version
alert("Photoshop Version:\n" + ThisPhotoshopVersion);
Regards,
Mike
Copy link to clipboard
Copied
Hello @Shulipa Bernad,
Try this...
var ThisPhotoshopVersion = version
alert("Photoshop Version:\n" + ThisPhotoshopVersion);
Regards,
Mike
Copy link to clipboard
Copied
Great, perfect! And that's what I was looking for. @Mike Bro thanks, for the script.
Copy link to clipboard
Copied
I use a conditional check:
// Ensure that version 2022 or later is being used
var versionNumber = app.version.split(".");
var versionCheck = parseInt(versionNumber);
if (versionCheck < 23) {
alert("You must use Photoshop 2022 or later...");
} else {
// Do your stuff!
}