7 Replies Latest reply on May 31, 2017 9:43 AM by adrianiglesias

    Conditional statement based on xmp data

    adrianiglesias

      Hi all,

       

      I am used to scripting but i am new in photoshop javascript.

       

      I need to set up a script to open an undefined number of camera raw images (CR2) and apply different actions based on some xmp data (in example, depending on the presence or abscense of a specific "keyword" in the xmp data)

       

      Can anyone help me? maybe a clue about how to read the xmp data of the CR2 file? I am sure this must be a very simple script but I feel lost with the information I read in the forums.

       

      Thanks a lot!