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

How to get the version number of Camera Raw filter

Explorer ,
Jun 12, 2023 Jun 12, 2023

Copy link to clipboard

Copied

How to get the version number of Camera Raw filter, for example, if the current version number is 15.3, then display a prompt with the version number as "15.3".

1(1).jpg

TOPICS
Actions and scripting

Views

1.5K
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

Community Expert , Jun 13, 2023 Jun 13, 2023
quote

Thank you for your response.Actually, what I hope to do is to get the version number of the Camera Raw filter through a script, so that I can determine which version of the Camera Raw filter the system is using.


By @meadX

 

Yes, I understand, that is why I wrote: "JavaScript code to come"...

 

/*
https://community.adobe.com/t5/photoshop-ecosystem-discussions/how-to-get-the-version-number-of-camera-raw-filter/td-p/13860882
*/
var sysInfo = app.systemInformation;
var regex = /Camera Raw (\d+\.\d
...

Votes

Translate
Adobe
Community Expert ,
Jun 12, 2023 Jun 12, 2023

Copy link to clipboard

Copied

JavaScript code to come...

 

If it is visible under app.systemInformation then a variable and regular expression should be able to show this. I'm not in front of Photoshop right now, however, I'll update this post later.

 

Votes

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
Explorer ,
Jun 13, 2023 Jun 13, 2023

Copy link to clipboard

Copied

Thank you for your response.Actually, what I hope to do is to get the version number of the Camera Raw filter through a script, so that I can determine which version of the Camera Raw filter the system is using.

Votes

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 ,
Jun 13, 2023 Jun 13, 2023

Copy link to clipboard

Copied

quote

Thank you for your response.Actually, what I hope to do is to get the version number of the Camera Raw filter through a script, so that I can determine which version of the Camera Raw filter the system is using.


By @meadX

 

Yes, I understand, that is why I wrote: "JavaScript code to come"...

 

/*
https://community.adobe.com/t5/photoshop-ecosystem-discussions/how-to-get-the-version-number-of-camera-raw-filter/td-p/13860882
*/
var sysInfo = app.systemInformation;
var regex = /Camera Raw (\d+\.\d+\.\d+)/;
var match = sysInfo.match(regex);
var acrVers = match[0];
alert(acrVers);

 

 

Votes

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
Explorer ,
Jun 13, 2023 Jun 13, 2023

Copy link to clipboard

Copied

Thank you, this is a good idea to extract the middle text by reading the System Info. But why did this error occur?

Votes

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 ,
Jun 13, 2023 Jun 13, 2023

Copy link to clipboard

Copied

What error? Don't send attachments via email, upload them via the browser.

Votes

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
Explorer ,
Jun 13, 2023 Jun 13, 2023

Copy link to clipboard

Copied

20230613174124.png

 

Votes

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 ,
Jun 13, 2023 Jun 13, 2023

Copy link to clipboard

Copied

I'm not sure, it obviously works for me:

 

acr-vers.png

Votes

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
Explorer ,
Jun 13, 2023 Jun 13, 2023

Copy link to clipboard

Copied

Okay, thank you for your help. I seem to know the reason now. Perhaps each system has different filters installed, so the content of the system information changes accordingly. Therefore, the text extracted by the regular expression is not accurate. I will think of other solutions and once again, thank you for your help.

Votes

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 ,
Jun 13, 2023 Jun 13, 2023

Copy link to clipboard

Copied

LATEST

I don't know of any other method, but perhaps a more robust regular expression can be created.

Votes

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
Advocate ,
Jun 12, 2023 Jun 12, 2023

Copy link to clipboard

Copied

By hand you can do...

Help  >  About plugins  > Camera Raw...  and you'll see that.

(noticed "Actions and scripting" too late... 😉 )

Votes

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
Explorer ,
Jun 13, 2023 Jun 13, 2023

Copy link to clipboard

Copied

Yes, I know that it can be done this way, but I am hoping to obtain the version number through a JSX script, so that I can determine which version the system is using.

Votes

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 ,
Jun 13, 2023 Jun 13, 2023

Copy link to clipboard

Copied

Unless I misunderstand your question, the version number is written across the top of the Camera Raw Filter pop up window.

 

capture.png

Votes

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
Explorer ,
Jun 13, 2023 Jun 13, 2023

Copy link to clipboard

Copied

Actually, what I hope to do is to get the version number of the Camera Raw filter through a script, so that I can determine which version of the Camera Raw filter the system is using.

Votes

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