Reviving this old thread... I was able to create the script provided here by pasting it in the extendscript toolkit. But as the other user, I did not manage to get a slash between the day and year, even though I put it in place of the space in the quotes, like in the following: #target "bridge" syncDateCommand = new MenuElement( "command", "Sync IPTC Date", "at the end of Tools", "myAlert" ); syncDateCommand.onSelect = function () { var sels = app.document.selections for (i = 0; i < sels.length; i++){ var md = sels.metadata; md.namespace = "http://ns.adobe.com/exif/1.0/"; var dt = md.DateTimeDigitized; var shortdate = dt.substr(5, 2) + "/" + dt.substr(8, 2) + "/" + dt.substr(0, 4); md.namespace = "http://ns.adobe.com/photoshop/1.0/"; md.DateCreated = shortdate; } } What did I do wrong?
... View more