This script will help the user match the material of a source object to a target object
First, you need to select the source object then click the script, now start picking your target objects
When you finish picking just right-click, or press Enter, and the picked Objects will have the same material as the source
Object plus any UVW Map modifier or Unwrap UVW modifier applied to it.