Finder won't remember sidebar width

Discussion in 'OS X Yosemite (10.10)' started by airlied, Aug 18, 2014.

  1. airlied macrumors 6502


    Jul 8, 2011
    This issue is since DP5, everytime I reopen user folder in a finder window or a tab , the sidebar becomes very wide itself. I have to adjust it back manually
  2. aatrcoutinho macrumors newbie


    Jun 30, 2015
    While the next version doesn’t fix this bug I propose an different solution. But I like it so much that I will use it forever:

    1. With Automator create (or copy and past from link bellow) an applescript to open a new tab in finder (from the last opened folder):

    2. Before the last line of AppleScript ("end run”) copy and paste this line to set the sidebar width:

    application "Finder" to set the sidebar width of every Finder window to 180

    3. Run and test the script and set the sidebar witdh (180) to the best value for you.

    4. Use OSX AppleScript Editor to Export this script to an “Add New”. A good tip is export and save it to the folder that you want to be the default tab folder (in the case when no tab was already opened).

    5. After export and save it, move “Add New” to Applications folder.

    6. This app is going to use some Accessibility features, so is necessary add it to the list "System Preferences-->Security and Privacy->Privacy->Accessibility” and authorize it to control the computer.

    7. Now we need only create an keyboard shortcut (Shift+Command+T) in Finder to run “Add New” to open a new window (if no window already opened) or tab. After this we can use it in place of default shortcut (Command+T) to open new window or tab with correct width (see the tutorial bellow):

    ps: A good tip is to set this shortcut in all applications and not only in Finder to open a new finder window when necessary. You have to make some small additional steps:

    8. Go to System Preferences -> Keyboard -> Application Shortcuts -> All Applications

    9. Add new line with properties:

    Application: All Applications
    Menu Title: New Tab
    Keyboard Shortcut: Shift-Command-T

    10. Now, test the shortcut. This Service will appear at every app into Services menu and will work as you want.

Share This Page