Thanks. Good call. I was able to create a script to add the file name at the beginning of the file. And now I am getting a little greedy, and was able to get all of the links tabbed in regardless of the number of lines.
After F2, ctrl c, enter, enter, the trick was to down arrow all the way to the bottom (okay to have extra down arrows), then up arrow/tab/left arrow all the way to the top to indent each line (okay to have extra up arrows then tabs then left arrows), then a ctrl shift right arrow (to select extra space), backspace, enter, tab, up arrow, paste file name, save, close, down arrow, repeat…
You originally introduced me to AHK in a post I had made about automating Obsidian, and I really appreciate it very much. I wanted to thank you.