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".
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
...
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.
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.
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.
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);
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?
Copy link to clipboard
Copied
What error? Don't send attachments via email, upload them via the browser.
Copy link to clipboard
Copied
 
Copy link to clipboard
Copied
I'm not sure, it obviously works for me:
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.
Copy link to clipboard
Copied
I don't know of any other method, but perhaps a more robust regular expression can be created.
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... 😉 )
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.
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.
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.