I’m finally getting around to using the very helpful built-in smart rule for downloading bibliographic metadata. However, I am not a coding person and I’d like to amend the script without breaking anything.
My academic papers are named:
Multi author = [First author last name] et al [Year] [Paper title]
Two authors = [First author last name] & [Second author last name] [Year] [Paper title]
One author = [First author last name] [Year] [Paper title]
The default script currently renames the file “[Paper title]”.
My ideal scenario is that I can set the script to follow my naming convention exactly, but I don’t know how feasible this is. My second option, and perhaps the more realistic, is that I stop the default script from renaming the file and leave it as is. Currently (and ever since I started using DT) I’ve been naming these files manually. I wasn’t looking to automate that when I started this bit of experimenting this morning and I’m fine if I can just get it to stop renaming my files.
Is anyone able to explain what bits of the script I need to amend, and how, for either scenario? I looked at the script but I was wary of changing anything when I only have a very rudimentary understanding of the instructions being parsed. I think it’s something to do with this line of the script?
set theRecord's name to (|title| of json_record) as string.
I read this as “Update the file’s name to the title provided”, is that right?