Skip to main content
This topic has been closed for replies.

18 replies

Kasyan Servetsky
Legend
January 3, 2008
Hi Rich,
I remade Roger's script a little:
//------------------------------------------------------------
#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;
}
}

//------------------------------------------------------------
Is that what you want? Let me know.
Kasyan
Participating Frequently
December 22, 2007
Does anybody have a script that will copy the Date Created field (MM/DD YYYY only without time)and copy it to the IPTC (IIM, legacy) Date Subject Created field?

I know nothing about scripting or how to write them.
Participant
April 29, 2006
Hi Tom,

Is the new version of Rank and File you talked about available yet that will put the date in the origen panel, I've not managed to locate it on the website you mentioned.

Michael
Participant
April 21, 2006
Guys,<br /><br />I'm just getting started in Bridge scripting but I just whipped this up as this is a tool I needed myself. Basically, it just extracts the date substring from the DateTimeDigitized EXIF field, and then populates the IPTC DateCreated field with that value. I'm sure there are a ton of potential errors I'm not trapping for, incouding obviously if the DateTimeDigitized is not available, if you have a folder selected, or the wrong file type selected, but it works fine for me on all of my Canon CR2 and CRW files.<br /><br />Anyway, feedback on this script would be appreciated, but all are welcome to use it as-is or in modified form:<br /><br />// ===================================================================<br />// Author: Roger Howard <rogerhoward@mac.com><br />// ------------------------------------------------------------------<br />// This script adds a command to the Tools menu in Adobe Bridge<br />// called "Sync IPTC Date" which extracts the date string from<br />// EXIF:DateTimeDigitized and populates the IPTC DateCreated<br />// field<br />// ===================================================================<br /><br />#target "bridge"<br /><br />syncDateCommand = new MenuElement( "command", "Sync IPTC Date", "at the end of Tools",<br />"myAlert" );<br /><br />syncDateCommand.onSelect = function () { <br />var sels = app.document.selections<br /><br />for (i = 0; i < sels.length; i++){<br /> var md = sels.metadata;<br /> md.namespace = "http://ns.adobe.com/exif/1.0/";<br /> var dt = md.DateTimeDigitized;<br /> var shortdate = dt.substr(0, dt.indexOf(','))<br /> md.namespace = "http://ns.adobe.com/photoshop/1.0/";<br /> md.DateCreated = shortdate;<br />}<br />}
Participant
April 17, 2006
Michael, I think I can offer you solutions for all of these things. As to the file creation date, I am building that capability into the next version of Rank and File. You can purchase it from www.DAMUseful.com for $20. Starting with version 1.15, the file creation date will appear in the "origin" panel as you want it. There should be a release of the new version within the next few days.

As to reading in the images, the "Import from Camera" script may do what you want, and I think there is a new "Image Ingester" script available that may work even better. Look for them on one of these forums (or Google search).

Yes, scripts are editable with a text editor.

You can contact me through the links at DAMUseful.com.

Tom
Participant
April 17, 2006
Hi Tom,

I have just noticed that when you open a folder of images in bridge, the 3 lines of metadata under each thumbnail, one of them displays the date created in the format i require dd/mm/yyy, please note I only want the date moved, not the time.

As this is possible it has started me thinking that I could expand this operation to speed up my workflow.
I know nothing about scripts, are they editable with a text editor?
the reason I am asking is as follows.

When I put a CF card in my USB Sanmdisk reader, I would like the images to be read, then saved to 3 locations.
1. A desktop folder
2. A folder on my D drive
3. A folder on my E drive

After saving, open the desktop folder, read the images in Bridge, then go about changing the Date format as I have already described.

Sounds OK if it can be done.

If I can edit the saved locations, I could change them to save to other areas of my system.

If you wish to contact me off line, email miguels@freeuk.com

Michael
Participant
April 16, 2006
I have a script that does this. Let's talk.

Tom
Participant
April 14, 2006
I would like a script?? to open a folder of Nikon RAW images in Bridge 1.0.3 then
extract the "date created" from the Metadata, File properties, which shows the date created to be dd/mm/yyy
The File, File info, section shows the date to be yyyy-mm-dd, why is this?

Once the date is extracted I would like the script to write this date only in the format dd/mm/yyyy to File, File Info, Origen box, Date Created box.

Complete this operation for all the images in the current folder, then close Bridge.

I am quite happy to pay a fee for this script if it's possible.

Windows XP pro SP2, Photoshop CS2, Bridge 1.0.3

Regards
michael