Finder Window List View Options Setting

In a word – Nyet.

The only way to control the Finder is via menu command and/or AppleScript.

Apple has broken some of the List View Settings that used to be available waaay back around Mountain Lion or Mavericks.

You an still do some things:

Finder Window Management in KM Like AppleScript Can Do

And you can use AppleScript UI-Scripting to manipulate the Finder View Options dialog:

--------------------------------------------------------
# Auth: Christopher Stone
# dCre: 2015/10/01 13:04
# dMod: 2021/11/12 10:53
# Appl: System Events
# Task: Set List View Attributes
# Libs: None
# Osax: None
# Tags: @Applescript, @Script, @System_Events, @Set, @List-View, @Attributes
--------------------------------------------------------

setFrontFinderWindowToListView()

tell application "System Events"
   tell application process "Finder"
      set frontmost to true
      
      if (value of attribute "AXSubrole" of front window is "AXSystemFloatingWindow") = false then
         
         --» Show View Options for Finder Window
         tell menu bar 1
            tell menu bar item "View"
               tell menu 1
                  tell menu item "Show View Options"
                     perform action "AXPress"
                  end tell
               end tell
            end tell
         end tell
         
         set theClock to 0
         
         repeat until front window's subrole is "AXSystemFloatingWindow"
            if theClock ≥ 0.5 then
               beep
               error "Problem opening window list-view prefs!"
            else
               set theClock to theClock + 0.1
               delay 0.1
            end if
         end repeat
         
      end if
      
      tell (first window whose subrole is "AXSystemFloatingWindow")
         
         tell group 1
            if (exists of checkbox "Date Modified") = false then
               setFrontFinderWindowToIconView() of me
               delay 0.15
               setFrontFinderWindowToListView() of me
               delay 0.15
            end if
         end tell
         
         tell checkbox "Always open in list view"
            if its value = 0 then
               click it
            end if
         end tell
         tell checkbox "Browse in list view"
            if its value = 0 then
               click it
            end if
         end tell
         
         tell (first pop up button whose name is "Group By:")
            if value ≠ "None" then
               click
               tell menu 1
                  click menu item "None"
               end tell
            end if
         end tell
         tell (first pop up button whose name is "Sort By:")
            if value ≠ "Name" then
               click
               tell menu 1
                  click menu item "Name"
               end tell
            end if
         end tell
         
         tell group 1
            
            tell checkbox "Date Modified"
               if its value = 1 then
                  click it
               end if
            end tell
            tell checkbox "Date Created"
               if its value = 0 then
                  click it
               end if
            end tell
            tell checkbox "Date Last Opened"
               if its value = 1 then
                  click it
               end if
            end tell
            tell checkbox "Date Added"
               if its value = 1 then
                  click it
               end if
            end tell
            tell checkbox "Size"
               if its value = 0 then
                  click it
               end if
            end tell
            tell checkbox "Kind"
               if its value = 1 then
                  click it
               end if
            end tell
            tell checkbox "Version"
               if its value = 1 then
                  click it
               end if
            end tell
            tell checkbox "Comments"
               if its value = 1 then
                  click it
               end if
            end tell
            tell checkbox "Tags"
               if its value = 1 then
                  click it
               end if
            end tell
            tell checkbox "Use relative dates"
               if its value = 1 then
                  click it
               end if
            end tell
            tell checkbox "Calculate all sizes"
               if its value = 1 then
                  click it
               end if
            end tell
            tell checkbox "Show icon preview"
               if its value = 1 then
                  click it
               end if
            end tell
            
         end tell
         
      end tell
      
      # keystroke "j" using command down -- depreated.
      
      --» Hide View Options for Finder Window
      tell menu bar 1
         tell menu bar item "View"
            tell menu 1
               tell menu item "Hide View Options"
                  perform action "AXPress"
               end tell
            end tell
         end tell
      end tell
      
   end tell
end tell

--------------------------------------------------------
--» HANDLERS
--------------------------------------------------------
on setFrontFinderWindowToListView()
   tell application "Finder"
      tell front Finder window
         set its current view to list view
      end tell
   end tell
end setFrontFinderWindowToListView
--------------------------------------------------------
on setFrontFinderWindowToIconView()
   tell application "Finder"
      tell front Finder window
         set its current view to icon view
      end tell
   end tell
end setFrontFinderWindowToIconView
--------------------------------------------------------

(*

CHANGE LIST

   2021/07/07 13:14
      + Adjusted for Mojave.

   2021/11/12 10:53
      + Deprecated keystroke dismissal of View Options for menu command.

*)

--------------------------------------------------------

But what you can do and what works properly is limited.

If you don't like it please do complain to Apple.

Feedback - macOS - Apple

But then – we've been doing that for over a decade now...

-Chris