Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Applescript to work around a Finder bug in Mavericks System
Mavericks introduced several bugs into the Finder. One of them is that in List View, the Finder frequently loses track of the column widths, and makes the Name column so wide that the other columns aren't visible unless one scrolls the window horizontally.

The following Applescript resets the column widths to something sensible. It uses a couple kludges to work around some *other* Finder bugs that Mavericks introduced.
-- Reset the width of the Finder's Name column to something sensible. 
tell application "Finder"
	set thisFolder to target of front Finder window
	set the current view of front Finder window to list view
	-- In previous versions of OS X, the next line would tell the Finder to set the width
	-- to exactly 300. In Mavericks, the Finder uses it as a *minimum* width.
	set width of column id name column of list view options of Finder window 1 to 300
	-- The following kludge is necessary to get the changes to "take". I got it from 
	-- Dr. Drang at www.leancrew.com/all-this/2013/10/quick-switch-to-big-finder-icons
	close front Finder window
	open thisFolder
end tell
    •    
  • Currently 2.67 / 5
  You rated: 5 / 5 (6 votes cast)
 
[7,951 views]  

Applescript to work around a Finder bug in Mavericks | 4 comments | Create New Account
Click here to return to the 'Applescript to work around a Finder bug in Mavericks' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Applescript to work around a Finder bug in Mavericks
Authored by: ms_t_rie on Jan 06, '14 08:30:50AM

An alternative to this is to use Xtrafinder with the auto-adjust width option. You can specify a max width with that. (Make sure you get the current version of Xtrafinder, it had to be updated for Mavericks)



[ Reply to This | # ]
Applescript to work around a Finder bug in Mavericks
Authored by: cnotarianni on Jan 06, '14 11:18:23AM

Thanks for the script

Edited on Jan 06, '14 11:20:18AM by cnotarianni



[ Reply to This | # ]
Applescript to work around a Finder bug in Mavericks
Authored by: vsilves on Jan 09, '14 08:36:45AM

Another way is holding down the Option key when resizing a column in Finder to make all columns (including the oversized one) adjust to the same width.



[ Reply to This | # ]
Applescript to work around a Finder bug in Mavericks
Authored by: nigelgoodman on Jan 10, '14 05:59:37AM
Another way is holding down the Option key when resizing a column in Finder to make all columns (including the oversized one) adjust to the same width.
The hint refers to List view, the above comment refers to Column view. Holding down the Opt key in List view has no effect.

Whilst the script works, in all the tests I've tried the window always reverts to a very wide Name column after it's been closed then re-opened manually. This is a bug surely. With annoying bugs in every new version of the Finder (and other Apple software and services - iTunes particularly) I am beginning to wonder where Apple's quality control has gone.

[ Reply to This | # ]