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


Click here to return to the 'An AppleScript to quickly show or hide hidden files' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
An AppleScript to quickly show or hide hidden files
Authored by: mlang on Jun 12, '05 04:28:30PM
well, this thread is mighty old, but if anybody happens along, i wanted to throw my hat into the ring. much shorter and simpler than some of the offerings here, but it seems to work quite smoothly for me.

property workingfilename : "~/Library/Preferences/com.apple.finder.plist"
tell application "Finder"
	quit
	tell application "System Events"
		get value of property list item "AppleShowAllFiles" of contents of property list file workingfilename
		if result = "Yes" then
			set value of property list item "AppleShowAllFiles" of contents of property list file workingfilename to "No"
		else
			set value of property list item "AppleShowAllFiles" of contents of property list file workingfilename to "Yes"
		end if
		delay 1
		tell application "Finder"
			launch
		end tell
	end tell
end tell


[ Reply to This | # ]
An AppleScript to quickly show or hide hidden files
Authored by: calvarez on Jun 18, '05 03:20:25PM

These don't seem to work on Tiger. The scripts run and blink, but do nothing. Any ideas on what needs to be changed to make them Tiger-compatible?



[ Reply to This | # ]