gamblingvur.blogg.se

Exiftool windows command line
Exiftool windows command line







exiftool windows command line

Var items = xmp.countArrayItems(ns, prop) ĪrrItem.push(xmp.getArrayItem(ns, prop, i)) įT = MenuElement.create("command", "Add FileName to Title", "at the end of Tools") tadata = new Metadata(newPacket) ĮxternalObject.AdobeXMPScript = undefined Var newPacket = xmp.serialize(XMPConst.SERIALIZE_USE_COMPACT_FORMAT) Xmp.setLocalizedText( XMPConst.NS_DC, "description", null, "x-default", Desc += decodeURI().replace(/\.+$/,"")) Xmp.deleteProperty(XMPConst.NS_DC, "description") Var Desc = getArrayItems(XMPConst.NS_DC, "description") Var selectedFile = new Thumbnail(thumbs ) If (ExternalObject.AdobeXMPScript = undefined) ExternalObject.AdobeXMPScript = new ExternalObject("lib:AdobeXMPScript")

exiftool windows command line

Here is the code for Filename to Description:įileToDesc = MenuElement.create("command", "Add FileName to Description", "at the end of Tools") Var menu = MenuElement.create( "command", "Add filename to Credit", "at the end of Tools") Bridge script to write filename to Description, Credit Line, andTitle lines I did manage to hack an existing script to add the Filename to the Headline into the Credit: I could possibly combine them with time/effort, but no promises as I'm new to scripting. I don't have one script that does all three.









Exiftool windows command line