Question
JAVAscript: No such element error
Hi There!
I've created a script to create Instagram images in Photoshop. It worked flawlessly until I upgraded to PS 2025.
//try and load previous settings
var exportSettings;
try {
exportSettings = app.getCustomOptions(settingsID);
} catch (e) {
alert(e + ' Erro linha: ' + e.line);
saveSettings();
}
if(typeof exportSettings == "undefined") {
saveSettings();
}//try and load previous settings
var exportSettings;
try {
exportSettings = app.getCustomOptions(settingsID);
} catch (e) {
alert(e + ' Erro linha: ' + e.line);
saveSettings();
}
if(typeof exportSettings == "undefined") {
saveSettings();
}I get the "No such element." error when calling app.getCustomOtions(savesettings). Any help would be very appreciated
