Quantcast
Channel: Adobe Community : Popular Discussions - Photoshop Scripting
Viewing all articles
Browse latest Browse all 12244

how to rename a file based on XMP values?

$
0
0

I have a files with multiple IDs in the keyword field of information tab.

 

I want to rename the file with the values I have in the fields.

 

For example, with file1.psd:

in keywords I have: 36607675; 36607675; 20999012; 20999013;

I want to have 5 files at the end :

36607675.psd

36607675.psd

20999012.psd

20999013.psd

file1.psd

 

I tried to create a script by using ScriptingListener plugin, but it didn't works and the code generated is a little be hard to understand. He doesn't take care of the metadata of the other files...

 

After that i tried to find some tutorials but evryone try to add XMP data, not retrieve it for use them.

 

 

Thanks in advance for your help and best regards


Viewing all articles
Browse latest Browse all 12244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>