Unhide the Library folder in Finder – AppleScript

By default the ‘Library’ folder is a hidden folder in OS X Finder. However, if you need temporary (GUI) access you can use this simple AppleScript below to remove the ‘hidden’ flag from the folder.

tell application "System Events"
	set libvis to (get visible of folder "~/Library")
end tell

if libvis = false then --~/Library is currently invisible
	tell application "System Events" to set visible of folder "~/Library/" to true
else --~/Library is visible
	tell application "System Events" to set visible of folder "~/Library/" to false
end if

This script could also be easily amended to show and hide any folder of your choice, simply by replacing the ~/Library/ with the path of the folder you’d like to toggle.

Read More

Unhide the Library Menu icon – OS X Mountain Lion

By default the library menu option in the go menu is hidden. Although I’ve never quite understood why it needs hiding, this quick tip will show you how to unhide it with just a quick keyboard click.

  1. Make sure you have a finder window active and focused
  2. Click on the Go menu at the top of the screen
  3. Press and hold the ‘Option/Alt’ key on your Mac’s keyboard
  4. The library icon should now appear. Upon releasing the keyboard key the icon will disappear again

Read More