File name copying and renaming another file - automation?

A post was split to a new topic: Rename .srt file based on .mkv in same folder