Viewing as a list...

Posted:
in macOS edited January 2014
Hi,



I'd like to know if its possible to view every folder on my mac as a list. I know i can go into each folder and set it to display as a list manually but id like to know if there is any way to automate this to save a bit of time.



Thanks

Andrew

Comments

  • Reply 1 of 7
    keshkesh Posts: 621member
    Best bet is an AppleScript. I don't know of anything else.
  • Reply 2 of 7
    I created an applescript to do this recently. If you would like it, I will post it in this thread.



    I just wanted a simple way to change all the folders views instantly. Mac OS X should really have this type of feature built in.
  • Reply 3 of 7
    Yeah, it would be great if you could post it up. It would help me loads...



    Like you said though OSX should definitley have something like this, i mean surely it wouldn't take them long to implement it?
  • Reply 4 of 7
    The reason they don't do this is that view settings are controlled by the folders .DS_Store file and to set every directory to this setting would involve creating a .DS_Store file for every folder on every hard drive you have. Not something you want to do. They probably should have some Finder preference about what view to have Finder windows in by default, but I think they just want to encourage everyone to use column view.
  • Reply 5 of 7
    Ok here it is...



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

    tell application "Finder"

    \tclose every window

    \ttell the container window of home

    \t\tset current view to list view

    \t\tset visible of column id modification date column of list view options of it to true

    \t\tset visible of column id creation date column of list view options of it to false

    \t\tset visible of column id size column of list view options of it to true

    \t\tset visible of column id kind column of list view options of it to true

    \t\tset visible of column id version column of list view options of it to false

    \t\tset visible of column id comment column of list view options of it to true

    \t\tset visible of column id label column of list view options of it to true

    \tend tell

    \twith timeout of 300 seconds

    \t\ttell the container window of every folder of ¬

    \t\t\tthe entire contents of home

    \t\t\tset current view to list view

    \t\t\tset visible of column id modification date column of list view options of it to true

    \t\t\tset visible of column id creation date column of list view options of it to false

    \t\t\tset visible of column id size column of list view options of it to true

    \t\t\tset visible of column id kind column of list view options of it to true

    \t\t\tset visible of column id version column of list view options of it to false

    \t\t\tset visible of column id comment column of list view options of it to true

    \t\t\tset visible of column id label column of list view options of it to true

    \t\tend tell

    \tend timeout

    end tell



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



    You will probably want to customize this script to display the specific columns you want to appear in list view. These are the ones I prefer to be on by default.



    Mike
  • Reply 6 of 7
    Hi, i don't want to sound really stupid, although it's is probably too late for that but how on earth do i get that to work? I'm new to mac's you see and don't have much experience with scripts.



    Thanks

    Andrew
  • Reply 7 of 7
    Go into Applications > Applescript > Script Editor



    Now just copy and paste this script into the window and click run.
Sign In or Register to comment.