Here it is - was always going to share, it just struck me as not worth sharing until I had debugged. Kinda sad that I’m debugging with alerts, which are effectively log statements.
(I would have got to the finish line without your help. Hat tip to @ryanjamurphy and @udracing
https://www.icloud.com/shortcuts/b8f6d0668e574f26b620851b0082559b
A few key changes from @ryanjamurphy I used “Magic Variables”, I think other languages call them implicit variables. I was struggling with the date formatting game until I noticed the date format I’ve choosen for my day notes matched the short format builtin in Shortcuts.
Clearly this isn’t ready for real sharing because it embeds knowledge of my filesystem.
Also in an ideal world I would figure how looping works and loop over the whole thing for many pictures. However I don’t care enough.