Answered
How to use the script determines Camera Raw. 8 bf filter whether can use
How to use the script determines Camera Raw. 8 bf filter whether can use, or to judge whether the filter is installed?
How to use the script determines Camera Raw. 8 bf filter whether can use, or to judge whether the filter is installed?
@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
}
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.