The script wraps the chosen RAW file in a PSD as a smart object using the current Photoshop Camera RAW preferences and the file’s saved XMP settings if they are different. The PSD is saved to the RAW file’s directory in a folder named InDesign Placed Raw Files. If you edit original, you can get at the file’s RAW settings by double clicking the smart object.
I’ve tested on a Mac, but not Windows so if any Windows users have problems let me know. The filtered file formats are: .CR2 .CR3 .CRW .NRW .NEF .RAF .ARW .SRF .DNG. I’ve tested on .DNG and .CR2