IPTC Core

I've been able to get a lot of this to work, but I've run into a problem I can't figure out. Here it is...
I have a Microsoft Excel 2008 spreadsheet that includes titles, descriptions, and keywords for my JPEGs.
I have the following Applescript for Adobe Photoshop CS4 to pull that information from Excel to the opened JPEG file...
tell application "Adobe Photoshop CS4"
     tell info of the current document
          set author to "My Name"
          set author position to "Illustrator"
          tell application "Microsoft Excel" to copy range (cell 2 of row 53 of worksheet "Keywording 2")
          set caption to (the clipboard)
          tell application "Microsoft Excel" to copy range (cell 3 of row 53 of worksheet "Keywording 2")
          set keywords to (the clipboard)
          set copyright notice to "Stephen Hobson"
          set copyrighted to copyrighted work
          tell application "Microsoft Excel" to copy range (cell 1 of row 53 of worksheet "Keywording 2")
          set title to (the clipboard)
     end tell
save the current document appending lowercase extension in ("Primary Hard Drive:Microstock:Files | Adobe Illustrator:Automating Now:10 | Series - Shined:6 | JPEG #1:" & (the clipboard) & ".jpg") as JPEG with options {embed color profile:true, class:JPEG save options, quality:12, format options:optimized} with copying
end tell
Everything pulls over and is inserted into the JPEG file with the only "odd" part is that the Keywords field is the only one that copies the information with quotations around it. That shouldn't be a problem though because when I go over to Adobe Bridge CS4 and look at the metadata everything is there and it looks fine.
Here's where the problem is...
When I upload these JPEG files to microstock sites, like Shutterstock for instance, that pull the metadata information and insert it onto the site, only the first 55 to 58 characters of the keywords are inserted then the rest abruptly cuts off? If I copy the keywords from Excel and insert them manually using Bridge and upload the file again, everything is there.
So, the problem must be with Photoshop writing the keywords? I was wondering if it's not getting enough time to save the metadata information before I save and close the file? I thought maybe it was the way I saved things to the clipboard, but every field except Keywords is correct so that probably isn't it. I thought that since the keywords are the only information pulled from a cell with the formula type "=Keywording!F6&Keywording!E6" in Excel that it was giving Photoshop problems? Is there something missing from my script?
I'm just not sure what the trick is so I thought I'd post the problem and see if someone could help? I have an older, more clumsy script that uses the keyboard that works fine, but I'd rather use better scripting to reduce the chance of error. If you need more information please let me know.
Additional Information: When I upload to Graphic Leftovers, I upload one Illustrator EPS file and the one matching JPEG file. However, the site uploads two identical JPEG files with only a few bytes difference. I'm thinking that the larger sized file has all of the metadata and the smaller sized file has the cut-off version. But, why on earth would it upload two JPEG files when I only selected one? Unfortunately, the metadata from the incorrect version is imported, so I think it goes back to the above problem of Photoshop insert and saving all the keywords correctly.
If you have any clues or thoughts please let me know!
Thanks!

Wait, I re-read what you posted and realized you were still using a typed string set to the clipboard.
What I changed was this...
tell application "Microsoft Excel" to copy range (cell 3 of row 53 of worksheet "Keywording 2")
set key_words to the words of (the clipboard)
set keywords to key_words
It did help me get everything recognized on Shutterstock. It was just missing the ";" between the keywords, so Shutterstock just recognized it as one long string of text.
Since the problem of getting every word recognized is fixed and now that I know Photoshop only takes its keywords in list form, I guess what I'm really working in is Excel now.
I'm not sure if you can help, but this is what I was thinking...
If my keywording looks like this in Excel..."keyword1", "keyword2", "keyword keyword 3"...and since Photoshop won't recognize the "," if it's pasted from the clipboard, is there a way to...
a) Set the contents of the clipboard as a list when copying?
b) Have the script place "," between pairs of quotes when it pastes (the clipboard) into Photoshop?
c) I'm really running out of ideas, I am beating a dead horse, I should give it up?
d) Any other suggestions?
Message was edited by: lightlens

Similar Messages

  • Mismatch in "Date Created" in File Properties vs IPTC Core

    I have scanned my old photos in .jpg format.  When I try to change the Date Created (Select Photo -> Right-Click -> File Info... -> under IPTC Image -> Change the Date Created to the date the event was held), the Date Created under File properties did not change.  In effect, when I want to do a search of dates, it does its search on the Date Created in File properties.
    Can I change the date on the File Properties?  If so, how.  Can this be done on a batch, like synchronization of Date Created in File Properties and IPTC Core but using the information on the IPTC core.
    btw, I am using Bridge that comes part of the Photoshop CS2.
    Heeelllllppppp........

    There have been several posts about changing the "date created" in Bridge.  The conclulsion is NO.  There are other programs that can do this so concentrate your efforts there (do not have a list so will have to explore).
    Do not confuse the three "dates" that are in metastock.
         Date Created (as set by camera when shot).
         Date File Created
         Date File Modified

  • Raw files (CR2) - Cannot modify IPTC Core fields, get error messages

    I really hope someone out there can help me out here because I'm at my wit's end!!!!
    I have a bunch of raw files in a folder, these are just pictures I took for a bit of general practice over Christmas.
    Now, whilst trying to modify the IPTC Core Fields (basically adding my name and my email address to the pictures), it worked fine for most of the pictures, but for some reason it will not work for the last 20. This is driving me nuts. :(
    The first picture which doesn't work was taken literally 2 seconds after the last one which does work. All pictures work perfectly well in Photoshop, I can open them, modify them, save them as jpgs... no problem. But it just won't let me change the metadata. The pencils on the IPTC Core fields are nowhere to be found, the option File>File Info appears greyed out... etc.
    The error messages I get:
    1. When clicking on any line of the IPTC Core Fields (such as "Creator") =
    i "This property cannot be modified".
    2. When clicking on the keywords tab and trying to enter keywords =
    i "The file Name.CR2 cannot store XMP metadata. No changes will occur"
    I have scoured the web for help, visited multiple forums... to no avail. It looks like other people are having the same problem but no-one seems to have a solution. I haven't done anything different to those 20 pictures, so I just can't think of a logical answer, it just doesn't make sense!!
    I am only starting to catalogue my pictures in the hope of going professional one day and this is extremely discouraging... if anyone out there can help, I'd be ever so grateful. Right now I just feel like pulling my hair out!! :'(
    OK, rant over :)
    Thanks very much for reading and thanks very, very much in advance for any suggestions/ideas!!

    I have run into the same problem. I downloaded photos in raw format ".CR2" from a Canon 40D via a compact flash card reader to my laptop. I labelled the ones I wanted green and then transferred these images via wireless transfer to my desktop. I had not checked any keywords while these were on the laptop. I used the Bridge (CS3)File/Copy to menu selection to effect the transfer. Both systems are Windows XP, SP2.
    I then tried to check a keword in my list for an image and got the error message number 2 reported by Maria Atkins above. I got the same for all images on the desktop system.
    Observations:
    -the green labelled items are correctly filtered on the desktop, but the labels on the images all show white.
    -not all images even have .xmp files associated with them. It appears to be a random thing.
    -although I have checked my preference to have double click open an image in Camera Raw in Bridge it will not do so with these images, always opening Camera Raw in Photoshop.
    -the camera exif data is correctly attached to the images, whether there is a .xmp file associated or not.
    -On my laptop I found I can check keywords and they are stored with the image with no complaints from Bridge, and whether the image has a .xmp file associated with it or not. This is after I had copied the images to the desktop. I was just checking whether the problem was with the original images or just the transferred ones. It appears to be that something was not done correctly in the transfer.
    This is not a trivial issue since it is essential for cataloging images to enable future searches. I hope someone from Adobe is paying attention and will respond with an answer.

  • Is there a way to sync my IPTC Core "date created" with my File Properties "Date File Created" for m

    I am working with a massive file of images and part of the issue is that I need to match the Date Create in the IPTC Core to that of the File Properties "Date File Created" for each image. Is there a way to do that automatically?

    The date data is complex.  Read through this post and see if it sheds any light on your question.  http://forums.adobe.com/thread/1171910

  • IPTC Core metadata fields lost with PNGs

    Hi there,
    I have a TIF file which contains data in the IPTC core fields. Converting the TIF to a JPEG will retain most of the fields and can be viewed still in Adobe Bridge.
    However, converting to a PNG will lose all of the data. The only way it seems to retain metadata is to set options on the Save to Web options in Photoshop, which doesn't really work too good with a 100mb TIF being converted.
    Resampling to PNG in ImageMagick and then reading in Bridge has the same issue, even though 8BIN and IPTC profiles are actually embedded into the file.
    Does Bridge support IPTC core metadata for PNG files?
    Many thanks!

    They've confirmed the same thing i've found, that Save For Web actually preserves a chunk of the IPTC core data, but this isn't really any good for the quality of image I need to save.
    It's strange how the XMP preserve option isn't available for a standard PNG save.

  • HT4028 Aperture IPTC Core Subject Code Exports Incorrectly to PhotoMechanic

    Hello. When using IPTC core Subject Code in Aperture, what I type in exports incorrectly when read by PhotoMechanic Software.  It seems to default back to previous Subject Code entries that are invisible on my end using Aperture, and can't be "erased".  Anyone else having this problem, and please advise on how to fix this.  I have contacted Apple tech support multiple times and they have been unable to resolve this problem.

    Preview should be able to do this
    In Preview you can see the field in the Inspector:
    From Peview's main menu bar: Tools > Show Inspector.
    Select the IPTC tab
    I tested several images - when I set the IPTC Subject Code and exported the edited version as jpeg, the modification showed in Preview correctly in the IPTC Subject code field.
    Tested in Aperture 3.5.1, MacOS X 10.9.1

  • Metadata  IPTC Core Instruction

        var sels = app.document.selections;
        for (var i = 0; i < sels.length; i++) {
            var md = sels[i].synchronousMetadata;
            md.namespace = "http://ns.adobe.com/photoshop/1.0/";
            md.Keywords = ...
            md.Caption = ...
            md.Title = ...
    Metadata IPTC Core
    Keywords <==> md.Keywords
    Description <==> md.Caption
    Title <==> md.Title
    Instruction <==> ???????????

    Instruction should be plural… Instructions

  • CS5, IPTC core, only author is showing in content

    Metadata>IPTC core>creator, job title......>apply. Only the creator s name is showing in content, (as author) not the other items. Any clue why?
    Thanks

    First of all, where I am: Bridge, I opened up a folder, clicking on the
    metadata tab gives a dark gray panel with the thumbnails listed on the left,
    What you call the metadata tab I think is in fact the Metadata workspace?
    (To my own opinion the Metadata workspace is very useless, but that aside)
    My purpose: to make sure that the person on the other end of the mail gets the
    captions. I figured out a good part of it , but not all.
    In preferences, all the options are checked, so basically I can "write"
    anything i want, but I only need title and author.
    The preferences for Bridge metadata gives you option to check or uncheck but
    that is only to see the lines that you check are visible in the metadata
    panel. If you have the option 'hide empty fields' also checked (by default
    on) the fields that have no info in it will not show.
    But the IPTC in the file info is still having all this fields written to it.
    I found out that if I write those (description and author) in Photoshop
    file\info, they appear simultaneously in Bridge in both the the lighter gray
    panel to the left, in the white fiels with the pencils, AND  next to the
    thumbnails, in the dark gray panel.
    Bridge just reflects the info you have filled in, only the main window of
    the Metadata Workspace does show very little of the content and you are not
    able to select what info you want to show next to the thumbs Hence my
    'useless' qualification...)
    The metadata panel itself however can be of great help for you. You can make
    a template for the IPTC / file info. This can be done in both PS and Bridge.
    For PS open File info and fill in the fields that you think will need the
    same info for every file (your name address copyright etc ) and when done
    click export.
    For Bridge (where you can also open file info) you have the ability to use
    the metadata panel. Top right of the panel is a small icon that provides you
    a fly out menu. Here you can choose to create a template but also you can
    choose to add a template (when having a template created).
    This is a major time saver that let's you add the same info you want to add
    to all your files in one go. Select the files you want to alter and choose
    append metadata and click on the template you want to add.
    Now the files need some time to save but all the data is there!
    Having multiple files that need the same description/caption you only have
    to select those files and in the editable fields in the metadata IPTC core
    section you can write this once and they are written to all the selected
    files when done.
    Besides that Batch rename (tools/batch rename) let you create a really easy
    to use naming convention with auto adding sequence number shot date and a
    lot more options.
    What is left for me to understand: if my data is embedded from file\info, and
    to be more precise it should be file\info\save for web because it seems that a
    different title in save for web prevails over file\info
    Not sure I understand this, you mean the mobile SFW tab in file info? Or the
    file after having used the save for web option to create a file for web??
    I verify that the data is there, which means that I dont have to write
    nothing anymore, so what is the purpose of the lighter gray panel with the
    little pencils?
    Those fields let you add custom info to the metadata if you should wish so.
    Preferable you should fill in as much as possible in the IPTC using the
    template.
    Leaving you with only having to add a few fields with custom info that
    changes per file/subject. Description, keywords, date created, City, state,
    country are fields that can be read by many applications and also will be
    used to search for files using phrases or keywords.
    What is confusing, is that, and I rephrase the old question, if you write
    creator in the IPTC core next to the little pencil, that will appear next to
    the thmbnail in the dark gray panel, if the thumbnail is selected of course,
    but the next item, job title will not appear, even if I click on apply at the
    bottom of the pencils.
    If this is still about the metadata workspace forget about it. If you fill
    in that field or have filled it in using a template and it shows in the
    metadata panel it is saved in there

  • Editing IPTC core 16 bit images

    Does bridge CS3 support editing the IPTC core on 16 bit images? I've been working with a photographer that has a 16bit work flow and I noticed that the IPTC fields of the 16bit files are not populated nor can they be edited.
    If you look at the file info in PS everything is there and can be edited.
    I'd also like to know if the data fields of the "metadata" tab from PS is accessible from bridge. I can't seem to find the fields that correspond to that pane. These images are for Getty submissions so the Keywords and release status are critical.
    Thanks
    Brian

    Strange
    If you can add metadata to the IPTC fields in PSCS you must see them in Bridge and also should you be able to edit the fields that have the pencil icon at the end in the metadata panel.
    To be sure could you try to develop and save a raw file from your own production in ACR using the 16 bit option and see if you can edit this files at the desired places?
    If this is also not possible you could try the purge cache for folder option via the tools menu and even the reset preferences for Bridge option with restarting it while holding down the option key and choose refresh preferences.

  • IPTC field codes -- Bridge IPTC Core metadata

    Is there a reference somewhere as to which IPTC codes match up with the IPTC Core fields in Bridge metadata?
    A list of the codes is here, so you know what I'm talking about. For example, the Description field in Bridge metadata corresponds to the Caption / #120 code in this list:
    http://www.fotoware.com/binaries/fsp50/userguide/28.htm
    I'm using a plug-in that writes image info from a database into the corresponding file's IPTC fields based on the IPTC code, but the names of the fields on the list of codes don't match up with what they're called in Bridge, so it's taking a lot of trial and error to figure out where things go.

    Never mind, found one. It doesn't mention Bridge specifically, but it has Photoshop and Lightroom (along with several other image-browsing apps) and both seem similar to Bridge:
    http://www.controlledvocabulary.com/imagedatabases/iptc_core_mapped.pdf

  • IPTC Core Contact standards?

    Hi All.
    Not sure if this is a good question for the forum but is there any standard for what belongs in the IPTC Core Contact section? Is this the purview of the photographer or the design-builder in the case of architecture or how does one handle this? I mean, assuming that the copyright info regarding the photo is included and the contact for the photographer is already included.
    Thanks for any guidance.

    Have a look at this thread What is the best metadata field for picture TITLE?

  • How can I filter based on the IPTC core information?

    How can I filter based on the IPTC core information? (CS6)

    "Substitution Variables" can do what you are asking for.

  • Method for quickly putting file names into IPTC core description?

    I would like to put the file names into the IPTC core description. The files are all named differently .Is there a way to batch this or any other way of automatically including it so that I don't have to do each file separately? Or perhaps there is a plug in?
    I am using PS5/ bridge on a mac.

    You only need a script… not a plug-in to do this. Search the bridge scripting forum as Im sure Paul has posted several variations of scripts that do this…

  • Display the filed instructions (that´s under IPTC Core metadata).

    Hi all
    I´m new on programing scripts in Photoshop..and tried everything but was not able to change the script below. Let´s explain this script is found at Adobe Photoshop default folder and works to show the Camera Model used to the current image.
    Now..the challenge...I want to change the scripts so when you run the it shows a field called Instructions (that´s located in the IPTC Core XMP metadata Tab. (In Photoshop > open an Image > go to File menu > File Info option and see the IPTC Core Tab > Instruction field).
    Can anyone please help me to change this lines. It could look very simple for you but it´s actually very difficult to me; This base-script is what I have and works fine to display the camera model:
    try {
         var xmpString = activeDocument.xmpMetadata.rawData.toString();
         var tiffModelLength = ('<tiff:Model>').length;
         var tiffModel = xmpString.search( '<tiff:Model>' );
         var tiffModelEnd = xmpString.search( '</tiff:Model>' );
         var tiffModelStr = xmpString.substr( tiffModel + tiffModelLength, tiffModelEnd - tiffModel - tiffModelLength );
         if ( tiffModelStr.length > 0 ) {
              alert( tiffModelStr + localize ( '$$$' ) );
         // check the exif
         var exifModelStr = '';
         var exifData = activeDocument.info.exif;
         for ( var i = 0; i < exifData.length; i++ ) {
              if ( exifData[i][0] == 'Model' ) {
    } // try end
    catch( e ) {
    // always wrap your script with try/catch blocks so you don't stop production
    // remove comments below to see error for debugging
    // alert( e );
    Thank you a lot for any help.
    Gustavo.

    Here is one of X's functions that should give you the information..
    #target photoshop
    var xmp = activeDocument.xmpMetadata.rawData;
    var Instructions = parseMetadata(xmp,"photoshop:Instructions");
    alert(Instructions);
    function parseMetadata(xmp, tag) {
      var re = new RegExp('<' + tag + '>(.+)</' + tag + '>');
      var m = xmp.match(re);
      if (!m) {
        re = new RegExp("<[^:]+:" + tag + ">(.+)</[^:]+:" + tag + '>');
        m = this.xmp.match(re);
      return (m ? m[1] : '');

  • Do search engines make use of IPTC Core metadata?

    I'm using Bridge to organise a large group of maps (the maps are JPEG images), which will be published on my organisation's website. These maps are about niche topics and very specific areas of the UK.
    I'm wondering if there are any SEO benefits from adding IPTC Core metadata to these map images using Bridge? Does anyone know if search engines use the meta?
    Thanks in advance for any ideas.

    Thanks for the replies. Yes, I'm talking about whether Google etc. pay any attention to the meta in the images.
    My map images are exported from the source map application as JPEGs.
    I'm not using a batch 'Save for web' in Photoshop, as the map images aren't designed for viewing in web pages - I'm just putting the maps up on the web to quickly share them for re-use by other people.
    In Bridge, I can quickly add the basic meta (copyright notice, addresses, rights usage terms, etc.) by selecting all the JPEGs and then do the title and description individually. Just wondering if it's worth the effort?

  • Aperture doesn't appear to write IPTC core correctly ?

    Hi,
    Having trouble getting some fields specifically written to Nikon NEF's and exported JPG versions of the same.
    Specifically the Creator field and Copyright field do not correctly reflect what is entered in Aperture IPTC Core panel even after explicitly writing to masters via menu command. Everything else seems to work.
    This is confirmed by Preview > Info Window > IPTC Tab and also Expression Media which doesn't seem to pick up any of the metadata.
    Are there known bug's with NEF's - My camera is set to Embed the two suspect fields on capture and I'm wondering if even though I'm explicitly "Replacing" the metadata in the Batch Change command, somehow this is still not respected by Aperture ??
    Is there a way to force Aperture to output XMP Sidecars ?
    Any input welcome ?
    Thanks

    After a long while on the phone with Apple Tech Support, we finally figured out the solution. After deleting ALL my previews (control-click on your main library icon and choose delete all previews) the Aperture library structure shows up everywhere it is supposed to. Of course, generating new previews will give access to the images again...
    Hope this helps.

Maybe you are looking for

  • Training and Event Management Data Load

    Hello Team Would appreciate if any of you can advice on how to load Training and Event management data. I think its stored in HRP tables. I'm working on an upgrade assignment. Thanks

  • Duplicate values

    hi, Please see the tabl;e structure below -- Create table create table RN_RPT_FIG DT DATE not null, RPT_ID NUMBER(8) not null, RPT_ROW_ID NUMBER(4) not null, RPT_COL_ID NUMBER(4) not null, FIG NUMBER(20,2) tablespace TS_IRS pctfree 10 initrans 1 maxt

  • Keychain issues - beyond already answered

    So I know there are a ton of topics on this. Out of the blue, I started getting the keychain not found messages. At some point in my troubleshooting, the keychain was deleted. I've read about the deleting the unique code in terminal, that won't work

  • Form Letter

    I would like to create a from that is set up like a letter and when the end-user inputs information in the fields that are in the middle of sentences and paragraphs the rest of the sentences and/or paragraph moves in order to keep the form looking li

  • Processes in PC

    i would like to know why some processes in the process chain disappear say for example when there is an error in data load that particular process will be red in color and after correcting the data load, the two processes following this data load wil