Last active
November 1, 2022 02:41
-
-
Save levymetal/8680412 to your computer and use it in GitHub Desktop.
Small applescript that makes the finder window really large then back to its original size to force the name column to resize fluidly. Used to fix a bug in OSX Mavericks whereby the name column is randomly wider than the window. Best to use a tool such as BTT to bind it to a keyboard shortcut, I used CMD + E.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "Finder" | |
tell the front Finder window | |
-- get the current bounds of the finder window | |
set b to the bounds | |
-- create a really wide window | |
set the bounds to {item 1 of b, item 2 of b, 3000, item 4 of b} | |
-- set window back to its original size | |
set the bounds to b | |
end tell | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment