Question
ExtendScript XMP getLocalizedText not working
Using the example here: http://estk.aenhancers.com/10%20-%20Scripting%20Access%20to%20XMP%20Metadata/accessing-the-xmp-scripting-api.html#integr…
The script fails on the call to
xmp.getLocalizedText( XMPConst.NS_DC, "title", null, "en" )
The reason given is:
TypeError: Bad argument list, usage: 'getLocalizedText(schemaNS: String, altTextName: String, genericLang: String, specificLang: String): XMPProperty'
I have tried passing in "en-US" as the generic and specificLang, but it makes no difference. I also checked the typeof XMPConst.NS_DC, and it is a string. So I don't get what is causing the issue?
