Can i give credit to multiple footages using Automation Blocks?

I was actually looking for a help in automation block. i need a script which can do the following task in one click -
1) Select all mp4 footages from Premeire pro sequence
2) Then rename all the footages, removes .mp4 file format name. for example the the footage name is XYZ.mp4 it will be XYZ Only
3) after that, Copy all the footage names. and paste it on the video layer 5 Text.
This script will be used, to give credit from where all the footages collected from.
