Automator workflow to force the same view for all the subfolders

Sonoma 14.7.1. I have created an Automator workflow to force the same folder view for all the subfolders of a selected folder:

https://github.com/jsx97/test/blob/main/folder-views.workflow.zip

To force the Icon view, it works fine.

But if I try to force the List view, the checkboxes in front of the column names don’t make any difference. That is, after running the script, the columns are the same as before.

Does anybody know how this bug(?) can be workarounded?

If Automator uses AppleScript under the hood (which I guess it does), then there’s indeed a bug in AppleScript that doesn’t apply the selected columns to the list view. In plain AppleScript there’s a workaround where you need to close the folder, then reopen it, in which case the columns will be applied as expected (if I recall correctly). Try to search the forum, there should be several discussions on this.

1 Like

I tried the same Automator workflow as you presented in your initial post. In List View all I get is: Date Modified, Size and Kind. No matter how many of the boxes I check. I would assume this is a bug.

1 Like