Hi,
How do you check if an effect is available (installed)?
Depending on whether user has a certain plugin/effect installed i need to either add that or perform a set of actions to mimic the desired effect so i need to check first.
Appreciate your help.
Check if effect or preset is available
Moderator: Paul Tuersley
Never mind, figured it out.
Code: Select all
var effectNameCollection = app.effects;
var check = false;
for (var i = 0; i < effectNameCollection.length; i++) {
var name = effectNameCollection[i].displayName;
if (name == "Effect Display Name") {
check = true;
}
}