I am not quite sure what you are trying to achieve?
When you add a track to iTunes, the song title is taken from the metadata in the file. This song title is what is shown in the iTunes library and the file shown in iTunes folder with the same name as in the library. It is usually shown with a prefix which is the track number e.g. 01SongTitle.mp3.
Can you please expand on what you are trying to achieve?
I can't thank you enough! I just got a audio book set of 5 books and each song title, had the book title, date, and then the song title. It was totally over the top. Way too much data per song.
I hope that after renaming each song file that when I imported in to iTunes that the Song Title might be changed. Yes I believe in magic
But the script you provided really did the trick and FAST.
If anyone happens to need this function, download the link Chris has provided. Don't forget to donate!
@Jimzgoldfinch, sorry for delay. Saw Chris' solution and missed your question. the issue was trying to change the meta data that was being used to name the file within iTunes as you point out. The problem was that the meta data was too long and thus creating a too long file name. before I imported I didnt know the meta data as I use iTunes to reveal that. My process was to change what I could see outside of iTunes and then import. the file name was too long too, so I used A Better Finder Rename and changed the filename and imported and then saw iTunes use the metadata as the file name even though I'd changed the file name. Meaning the metadata took preference over the externally created file name. so in effect I was approaching this backwards and needed to changed the metadata first and then import which Chris' script allowed and solved my issue. Hope that explains it better. Regards, steven