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

How to use the script determines Camera Raw. 8 bf filter whether can use

Explorer ,
May 10, 2023 May 10, 2023

Copy link to clipboard

Copied

How to use the script determines Camera Raw. 8 bf filter whether can use, or to judge whether the filter is installed?

 

 

TOPICS
Actions and scripting

Views

720

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

Community Expert , May 10, 2023 May 10, 2023

@meadX – Perhaps something like this to check if installed? Not sure about checking if it is possible to use...

 

if (/Camera Raw/.test(app.systemInformation)) {
    // Do something if true
}

 

Or:

 

var sysInfo = /Camera Raw/.test(app.systemInformation);
if (sysInfo === true) {
    // Do something if true
}

 

Or:

 

var os = $.os.toLowerCase().indexOf("mac") >= 0 ? "mac" : "windows";
if (os === "mac") {
    if (/Camera Raw\.plugin/.test(app.systemInformation)) {
        // Do something if true f
...

Votes

Translate

Translate
Adobe
Community Expert ,
May 10, 2023 May 10, 2023

Copy link to clipboard

Copied

@meadX – Perhaps something like this to check if installed? Not sure about checking if it is possible to use...

 

if (/Camera Raw/.test(app.systemInformation)) {
    // Do something if true
}

 

Or:

 

var sysInfo = /Camera Raw/.test(app.systemInformation);
if (sysInfo === true) {
    // Do something if true
}

 

Or:

 

var os = $.os.toLowerCase().indexOf("mac") >= 0 ? "mac" : "windows";
if (os === "mac") {
    if (/Camera Raw\.plugin/.test(app.systemInformation)) {
        // Do something if true for Mac
    }
} else if (os === "windows") {
    if (/Camera Raw\.8bi/.test(app.systemInformation)) {
        // Do something if true for Windows
    }
} else {
    // Do nothing
}

 

 

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
Explorer ,
May 10, 2023 May 10, 2023

Copy link to clipboard

Copied

Thanks 

I don't know why, the judgment is not stable enough, and even if the ACR filter is not present, it will indicate its presence

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 ,
May 10, 2023 May 10, 2023

Copy link to clipboard

Copied

LATEST

I'm out of ideas, perhaps somebody else has another idea?

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