I have several thousand groups with proper names e.g. “This is correctly named” , each containing a file with a garbage name e.g. “qlwjhlgkah29546524oi”, and a formatted note, typically with the same proper name as the group. This has arisen from importing thousands of old scans from Evernote.
I have looked at the various threads on Evernote import for clues, and have made some progress adapting one the Apple Scripts (I am a rank amateur at scripts before you comment :-))
You could try to use location group instead. Though I’m not sure how that really works. Also, I’m not quite clear about the meaning of
If you are really working on a single selected group (i.e. selecting the group, not the records inside it), why do you go up one level with set currentLocation to parent 1 of theRecord?
As an aside: It would be a lot more helpful to post a script as code like so
```
code goes here
```
instead of a screenshot. One could of course extract the image and run OCR on it, but that would really be pushing it a bit.