Thank you the geolocation memory one worked perfectly, so thanks for that! But the first and second didn't unfortunately, I think maybe I wasn't clear in my original comment about what I was trying to do, sorry about that.
I basically want to make myself the OT on every Pokemon. This is how my current situation looks for each one:
And this is what I want them all to look like:
Matching with the file's SID/TID/Name here:
So I input your code as follows:
After confirming that I had left the field blank, the batch process ran and said the files were modified. But nothing seemed to change on any of the modified Pokemon. I wondered if it was because I had left the second line blank (because I want it to be empty, of course). Is there something I need to type there to show I want it blank? I tried 0, and also a random word, neither of which seemed to change anything either, so I'm thinking it must be something else? Possibly that the HT and OT names are identical?
Then for the TID and SIDs, as per the numbers in the image above, I input the code as follows:
Again, nothing seemed to change, but I think these might be to change the actual Trainer's IDs on the file? As I saw there are also SID and TID commands in the batch editor. Not your fault, as I said I should have been more clear in my original post.
I also tried those TID/SID commands like so:
Which sadly didn't work either, though perhaps I did it incorrectly. I also tried running multiple combinations of the codes at the same time to see if that worked, but still nothing was changed.
Would it help if I uploaded the main file, so you could take a look yourself? I'll attach it to this comment. I've just put some Pokemon in the top row of the first box, with the SID, TID, and OT name how I would like it. Then in the second row is how they currently are. It's easy to fix manually - I can simply delete the HT name, change the SID, TID, and OT name to match the file's trainer's, and it saves it just fine. I just can't seem to work out how to do it using the batch editor.
Sorry, that was a lot of info! But thanks again for your help
main