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
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
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)
Yes, that completely eliminates the need for a notification even in BBEdit, which now shows the list instantly too.
iterate over a list of text instead of AppleScript objects
names in one go then parse them rather than getting the menu items then iterating through those to get the names one-by-one.
I think we agree.![]()
This Alfred Workflow is brilliant. Tap rr to list files opened recently by the foremost app. Tap rf to list recent folders. Tap rd to list recent files. Tap ra to list apps opened recently.
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...