I'm seeking for script for placing images to indesign with partial filename. I'm using xml-file to import product data to indesign. In xml I have product number which I would like to use to get the product images to anchored frame. Can do it with exact path/filename.ext.
The challenge is that all images has the product number in filename, but the place and extension varies. For example file name can be 123456.jpg, xxx_123456.tiff, xxx_123456_xxxxx.psd or 123456.png. The beginning and ending of the filename may change and so does this extension. Would like to find a script that uses "search" in filename and finds the right image to link. Does someone have solution for this or any suggestions where to look for the solutions?