Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

AjTee

macrumors 6502
Original poster
Aug 17, 2018
471
152
Gdańsk, Poland
Hello,

Safari Web Apps feature is very nice in new macOS, but is there any possibility to have a Smart Folder like Downloads with this webs apps on the dock?

Currently these apps are directly on dock without any Smart Folder.


web_apps.png


Regard
 
Yes, they normally drag on the Dock, but I want to have them in a Smart Folder like Downloads. Is it possible?
 
I entered your thread not running beta anything. It’s an interesting question that I don’t know the answer to. Are you routinely creating and deleting so many web apps that manually putting them into a folder won’t work, or is this just curiosity?
 
I also don't have the beta, however my understanding is that Web Apps show up in a folder (~/Applications or some subfolder of that). Brave and Orion apps do, at least.

Then you can drag that folder to the part of your dock with the other stacks.

Maybe you can try that?
 
If you right-click one of them in the Dock and go to Options, then Show in Finder, what folder is showing up?
 
Hello,

Web Applications are stored in Applications after adding them to the Dock:

Screenshot 2023-06-14 at 08.30.39.png
I have created custom folder called Web Applications and moved all apps manually there:

Screenshot 2023-06-14 at 08.33.13.png

Currently all web apps are stored in my custom folder:

Screenshot 2023-06-14 at 08.33.42.png

I have added this folder to the Dock and it works:

Screenshot 2023-06-14 at 08.34.14.png


Below you can find details where about locations:

Screenshot 2023-06-14 at 08.35.58.png


However there is no option to automatically add this app to custom folder or do not add it to dock but only to this folder.

Suggestions sent to Apple...
Screenshot 2023-06-14 at 08.52.45.png


Regards,
Jacob
 
Last edited:
  • Love
  • Like
Reactions: gank41 and owidhh
Hello,

Web Applications are stored in Applications after adding them to the Dock:

View attachment 2217893
I have created custom folder called Web Applications and moved all apps manually there:

View attachment 2217894
Currently all web apps are stored in my custom folder:

View attachment 2217895
I have added this folder to the Dock and it works:

View attachment 2217896

Below you can find details where about locations:

View attachment 2217897

However there is no option to automatically add this app to custom folder or do not add it to dock but only to this folder.

Suggestions sent to Apple...
View attachment 2217898

Regards,
Jacob
Thank You! This has been one of my remaining questions before upgrading. I was wondering if you could right click on the dock icon and see some kind of option for “show original” or something?

And when you say you’ve created a “Smart Folder”, is this in the sense that after you’ve created it, Automator recognizes these Web Apps by File Extension in the Applications folder and then moves them to this new folder you’ve created? Because that would be great. They should be in their own folder anyway, I think.
 
When I navigate to my Applications folder through /Users/admin/Applications, all of my Web Apps are there. And they are added automatically. I dragged this folder to my Dock and they get added automatically like you are trying to achieve.

Screenshot 2023-06-24 at 8.48.03 PM.png
 
  • Like
Reactions: owidhh and gank41
That only works if you have no other applications in /Users/<user>/Applications. However, Shortcuts also puts the shortcut "apps" there which you added to the Dock. Likewise, any applications you may have installed there will be there too.

You can create an actual smart folder based on the Spotlight metadata. For example, when using the mdls command in Terminal (e.g. mdls /Users/<user>/Applications/<webapp>.app), you can find this line:
Code:
kMDItemCFBundleIdentifier          = "com.apple.Safari.WebApp"

You can create a smart folder by using the "Raw Query" filter and writing:
Code:
kMDItemCFBundleIdentifier == "com.apple.Safari.WebApp"

Then the smart folder will only show those apps with the bundle identifier. You can add the smart folder to the Finder sidebar or to the stack area in the Dock.
Screenshot 2023-10-14 at 17.25.22.pngScreenshot 2023-10-14 at 17.24.22.pngScreenshot 2023-10-14 at 17.24.40.png
 
Last edited:
That only works if you have no other applications in /Users/<user>/Applications. However, Shortcuts also puts the shortcut "apps" there which you added to the Dock. Likewise, any applications you may have installed there will be there too.

You can create an actual smart folder based on the Spotlight metadata. For example, when using the mdls command in Terminal (e.g. mdls /Users/<user>/Applications/<webapp>.app), you can find this line:
Code:
kMDItemCFBundleIdentifier          = "com.apple.Safari.WebApp"

You can create a smart folder by using the "Raw Query" filter and writing:
Code:
kMDItemCFBundleIdentifier == "com.apple.Safari.WebApp"

Then the smart folder will only show those apps with the bundle identifier. You can add the smart folder to the Finder sidebar or to the stack area in the Dock.
View attachment 2295454View attachment 2295455View attachment 2295456

Thank you very much!! Surprised by the lack of gratitude for this brilliant solution. 🙏🏼
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.