AdobeXMPScript library fails to load
AdobeXMPScript library fails to load in the following versions of InDesign (resulting in ERROR: 52, I/O error:)
2022 (17.2.1), Windows
17.2.0, Windows
17.2.1.105, Windows
But it works in:
17.2.1, Mac
17.1.0.50, Windows
2020 (15.0.3), Windows
Vote here at InDesign UserVoice to make Adobe to fix it.
Here is the code for testing:
loadXMPLibrary() function loadXMPLibrary() { if ( !ExternalObject.AdobeXMPScript ) { try { ExternalObject.AdobeXMPScript = new ExternalObject( "lib:AdobeXMPScript" ); } catch(e) { $.writeln ( "ERROR: " + e.number +", "+ e.message +"\r"+ "Unable to load the AdobeXMPScript library!" ); return false; }; }; return true; };
See also metadataPreferences and linkXMP entries only return first delimited value