Is it possible to narrow down the results by generalised filetype, the way that Finder does? I'd like to find, for example, the latest movie file or audio file within subfolders.
⠀⠀⠀
How do I stop the macro from displaying the results in a window and pass it to a variable instead?
I really appreciate that, and can only apologise for my ignorance; it's not sheer laziness, I promise!
It works perfectly when the chosen directory is something like the Downloads folder or a folder on the Desktop, but I've noticed that it doesn't work for temporary cache files in, for example "/private/var/folders/6h/4b39kdzj1rbgwln1rpklhm780000gn/T/". Is that a permissions thing, do you think?
I placed a movie file in a desktop folder and that worked fine. I moved that same file to the aforementioned "/private/var..." directory to test and it didn't find it. By "temporary cache files", I still meant movie files, that are temporarily stored by streaming software.
Noted; I'll stick to Finder for that. You're so knowledgeable. I realise I ask a lot of questions, and I really appreciate your patience and kindness. Thankyou!