Show Open Recent Files List

I gave it a spin and it works great for me. Takes 1 - 2.5 seconds to render the prompt, depending on the app. BBedit is 2 - 2.5 seconds.

Thanks for sharing @noisneil

1 Like

The Swift panel can't be run asynchronously, so I "reverted" to HTML. The HTML window is closed as soon as the list is created, so the "delay" varies based on the application.

I'm going to try the faster code as a way to eliminate the notification entirely. But I'll leave this as an interesting alternative (to the Swift panel) way to let the user know something is going on:

Open Recent Document.kmmacros (26.4 KB)

1 Like

Yes, that completely eliminates the need for a notification even in BBEdit, which now shows the list instantly too.

1 Like

I think we agree.:smiling_face_with_sunglasses:

This became a bit buggy with recent macOS updates and it's not maintained any more. I managed to get it going by switching from sf2 to sf3, but the Recent Documents part of it is buggy as heck. Returns a bunch of files I've not opened in years, if ever, and the script filter keyword (rd) isn't accepted by Alfred for reasons that escape me.

I've had a go at editing main.py with ChatGPT and got nowhere. If anyone fancies a challenge as the long winter nights approach...