• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Checking the Photoshop Version

Engaged ,
Aug 01, 2022 Aug 01, 2022

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")}
TOPICS
Actions and scripting

Views

209

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
community guidelines

correct answers 1 Correct answer

Advisor , Aug 01, 2022 Aug 01, 2022

Hello @Shulipa Bernad,

 

Try this...

 

var ThisPhotoshopVersion = version
alert("Photoshop Version:\n" + ThisPhotoshopVersion);

 

Regards,

Mike

Votes

Translate

Translate
Adobe
Advisor ,
Aug 01, 2022 Aug 01, 2022

Copy link to clipboard

Copied

Hello @Shulipa Bernad,

 

Try this...

 

var ThisPhotoshopVersion = version
alert("Photoshop Version:\n" + ThisPhotoshopVersion);

 

Regards,

Mike

Votes

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
community guidelines
Engaged ,
Aug 02, 2022 Aug 02, 2022

Copy link to clipboard

Copied

Great, perfect! And that's what I was looking for. @Mike Bro thanks, for the script.

Votes

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
community guidelines
Community Expert ,
Aug 03, 2022 Aug 03, 2022

Copy link to clipboard

Copied

LATEST

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!
}

Votes

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
community guidelines