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


Click here to return to the '10.7: Un-hide the User Library folder' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.7: Un-hide the User Library folder
Authored by: billearl on Jul 21, '11 05:45:59PM
This works for toggling visibility of the user library folder. Is there a better way?
tell application "System Events"
	if visible of (path to library folder from user domain) then
		do shell script "chflags hidden ~/Library"
	else
		do shell script "chflags nohidden ~/Library"
	end if
end tell


[ Reply to This | # ]