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

SlCKB0Y

macrumors 68040
Original poster
Feb 25, 2012
3,431
557
Sydney, Australia
Hi guys,

Didn't have this problem until beta 3. The sidebar is very narrow when I open finder. I resize it to the desired width but if I close Finde and reopen it again, the width has been reset and its narrow again.

Does anyone else have this issue? Has anyone worked out a workaround for this?
 

PHUBB

macrumors newbie
Jul 10, 2015
7
3
Las Vegas
Hi guys,

Didn't have this problem until beta 3. The sidebar is very narrow when I open finder. I resize it to the desired width but if I close Finde and reopen it again, the width has been reset and its narrow again.

Does anyone else have this issue? Has anyone worked out a workaround for this?

Yeah, can't wait for a fix on this!
 

aatrcoutinho

macrumors newbie
Jun 30, 2015
9
4
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):

https://gist.github.com/n8henrie/0ceef75964bd153f910d

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

tell
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 Tab.app”. 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).

http://www.engadget.com/2008/01/13/applescript-saving-scripts/


5. After export and save it, move “Add New Tab.app” 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.

https://support.apple.com/en-us/HT202802


7. Now we need only create an keyboard shortcut (Shift+Command+T) in Finder to run “Add New Tab.app” 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):

http://computers.tutsplus.com/tutorials/how-to-launch-any-app-with-a-keyboard-shortcut--mac-31463

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: Add 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.
 
Last edited:

SlCKB0Y

macrumors 68040
Original poster
Feb 25, 2012
3,431
557
Sydney, Australia
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):

https://gist.github.com/n8henrie/0ceef75964bd153f910d

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

tell
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 Tab.app”. 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).

http://www.engadget.com/2008/01/13/applescript-saving-scripts/


5. After export and save it, move “Add New Tab.app” 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.

https://support.apple.com/en-us/HT202802


7. Now we need only create an keyboard shortcut (Shift+Command+T) in Finder to run “Add New Tab.app” 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):

http://computers.tutsplus.com/tutorials/how-to-launch-any-app-with-a-keyboard-shortcut--mac-31463

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: Add 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.


Haha, thanks, the side bar is annoying me, but thats overridden by my laziness to follow all your steps in your workaround :D
 
  • Like
Reactions: LewisChapman

aatrcoutinho

macrumors newbie
Jun 30, 2015
9
4
Don't worry and stay lazy... users are not programmers at all. This steps is more to programmers than users.
 

shafez

macrumors 6502
Jul 3, 2011
278
169
United States
Hi guys,

Didn't have this problem until beta 3. The sidebar is very narrow when I open finder. I resize it to the desired width but if I close Finde and reopen it again, the width has been reset and its narrow again.

Does anyone else have this issue? Has anyone worked out a workaround for this?

What Beta 3 ?, I only got the supplemental update and no more updates available.
 

mikeyhd

macrumors member
Dec 2, 2011
85
11
Canada
just a modification from the one posted above

on new_tab()
tell application "System Events" to tell application process "Finder"
set frontmost to true
tell front menu bar to tell menu "File" to tell menu item "New Tab"
perform action "AXPress"
end tell
end tell
end new_tab

on run {}
tell application "Finder" to open home
tell application "Finder" to set the sidebar width of the front Finder window to 180
tell application "Finder"
if (count of Finder windows) > 0 then set duplicate_me to target of front Finder window
end tell
delay 0.5
new_tab()
tell application "Finder"
set target of front Finder window to duplicate_me
end tell
tell application "Finder" to set the sidebar width of every Finder window to 180
end run
 

Blackvibes

macrumors member
Oct 30, 2014
70
4
You can't honestly tell me that script is great.

I'm not an Applescript programmer, so I don't know the exact commands, but you can't convince me it isn't possible to run
`tell application "Finder" to set the sidebar width of every Finder window to 180'
when the finder command
'open new tab' or 'open Finder window' is executed.
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.