I'm not sure if this is possible, but it would be really nice and help a lot if I could open recently used items from the app icon's (or window's) context menu. (This is what keeps me still using the dock occasionally, otherwise the taskbar almost completely replaced my dock.)
Use case: I have several Obsidian vaults, or open VSCode with various folders. These appear in the dock's app context menu, so that I can launch the app straight with the selected folder.
Currently I can only launch the basic app from the taskbar's app icon, then open the folder (or it opens with the most recent one, which might not be what I'm looking for).
Thanks for the suggestion. I think the feature would be nice. We will definitely look into this!
LLinda SobeckAdminEdited
Hi @GΓ‘bor
I tried to implement this, but this requires reading the entries from the Dock, which makes it flashing for a fraction of a second. Looks very ugly and it is not easy to get this data in an easy way.
Did you ever look into the "Combined Tiles" feature?
If you have multiple VS Studio Windows open, you can arrange them.
If that's not enough, I could still provide you above solution as an opt-in.
I will look more into this, when I have time.
GGΓ‘bor
Combined tiles combines the separate windows from the taskbar, keeping which would be important for me. Plus, it will still only show the open windows, so if I want to quickly re-open a closed workspace from my recents, it will still not support that. (The items on my screenshot were not windows, but recents - previously opened folders/vaults/workspaces, which might or might not have a window at the moment. Sorry if I'm using ambiguous terms.)
I found these lists available in ~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments and readable even when the app is closed, is that right? The downside is it would need full disk access I believe. :( I'm not sure people would be happy to grant that, or if you can limit it to that specific folder, or if there is any other workaround.
LLinda SobeckAdmin
the file you mentioned does help for your app, but every app does that differently ... it is not so easy to implement a solution working for all apps... from my open apps, i had no context menu for any of them ... still thinking about this one ...
GGΓ‘bor
If it's impossible to treat all apps the same way, can you start building at least something for common apps and apps that the community requests? If I remember it right, vscode and obsidian are electron based apps, so other electron based apps will share the same method, so this method could already be useful for a relatively wide range of apps.
Personally I would also be happy if there was a way to just manually specify/pin certain recents (typically - folders) for the given apps.
LLinda SobeckAdminEdited
@GΓ‘bor
Like this?
GGΓ‘bor
This looks really promising, Linda!
LLinda SobeckAdmin
update is released, happy to hear your feedback
OpentoAwaiting releaseby Linda Sobeck
Awaiting releasetoAwaiting feedbackby Linda Sobeck
GGΓ‘bor
Thanks, works fine with my main apps where I was looking for this.
The only one where it's not showing anything is Atlassian Sourcetree.
Open to Awaiting release by Linda Sobeck
Awaiting release to Awaiting feedback by Linda Sobeck
Awaiting feedback to Open by GΓ‘bor after replying