<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Toggle Finder Hidden File Status</title>
	<atom:link href="http://MacDeveloperTips.com/applescript/toggle-finder-hidden-file-status.html/feed" rel="self" type="application/rss+xml" />
	<link>http://MacDeveloperTips.com/applescript/toggle-finder-hidden-file-status.html</link>
	<description>Tips, tools and code for iPhone and Mac developers.</description>
	<lastBuildDate>Fri, 30 Jul 2010 22:59:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Richard</title>
		<link>http://MacDeveloperTips.com/applescript/toggle-finder-hidden-file-status.html/comment-page-1#comment-792</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Thu, 18 Jun 2009 09:54:32 +0000</pubDate>
		<guid isPermaLink="false">http://MacDeveloperTips.com/applescript/toggle-finder-hidden-file-status.html#comment-792</guid>
		<description>I created an application for simple minded people like me based on this code and included error handling as suggeested by Dalmazio. Find it here http://shoebox.kobie.nl/HiddenFiles/SwitchHiddenFiles.zip

It has no interface, when you start it, it just makes the switch and exits.</description>
		<content:encoded><![CDATA[<p>I created an application for simple minded people like me based on this code and included error handling as suggeested by Dalmazio. Find it here <a href="http://shoebox.kobie.nl/HiddenFiles/SwitchHiddenFiles.zip" rel="nofollow">http://shoebox.kobie.nl/HiddenFiles/SwitchHiddenFiles.zip</a></p>
<p>It has no interface, when you start it, it just makes the switch and exits.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dalmazio</title>
		<link>http://MacDeveloperTips.com/applescript/toggle-finder-hidden-file-status.html/comment-page-1#comment-737</link>
		<dc:creator>Dalmazio</dc:creator>
		<pubDate>Tue, 12 May 2009 06:09:57 +0000</pubDate>
		<guid isPermaLink="false">http://MacDeveloperTips.com/applescript/toggle-finder-hidden-file-status.html#comment-737</guid>
		<description>Thanks for this. Taking the suggested modifications from above and including error handling so it works even when the defaults variable is not defined:

try
	-- Get current value
	set toggle to do shell script &quot;defaults read com.apple.finder AppleShowAllFiles&quot;
	
	-- Toggle it
	if toggle = &quot;YES&quot; or toggle = &quot;ON&quot; then
		do shell script &quot;defaults write com.apple.finder AppleShowAllFiles NO&quot;
	else
		do shell script &quot;defaults write com.apple.finder AppleShowAllFiles YES&quot;
	end if
	
	-- Restart Finder
	do shell script &quot;killall Finder&quot;
	
on error
	
	-- Error usually because &quot;AppleShowAllFiles&quot; is not defined
	do shell script &quot;defaults write com.apple.finder AppleShowAllFiles YES&quot;
	
	-- Restart Finder
	do shell script &quot;killall Finder&quot;
	
end try</description>
		<content:encoded><![CDATA[<p>Thanks for this. Taking the suggested modifications from above and including error handling so it works even when the defaults variable is not defined:</p>
<p>try<br />
	&#8211; Get current value<br />
	set toggle to do shell script &#8220;defaults read com.apple.finder AppleShowAllFiles&#8221;</p>
<p>	&#8211; Toggle it<br />
	if toggle = &#8220;YES&#8221; or toggle = &#8220;ON&#8221; then<br />
		do shell script &#8220;defaults write com.apple.finder AppleShowAllFiles NO&#8221;<br />
	else<br />
		do shell script &#8220;defaults write com.apple.finder AppleShowAllFiles YES&#8221;<br />
	end if</p>
<p>	&#8211; Restart Finder<br />
	do shell script &#8220;killall Finder&#8221;</p>
<p>on error</p>
<p>	&#8211; Error usually because &#8220;AppleShowAllFiles&#8221; is not defined<br />
	do shell script &#8220;defaults write com.apple.finder AppleShowAllFiles YES&#8221;</p>
<p>	&#8211; Restart Finder<br />
	do shell script &#8220;killall Finder&#8221;</p>
<p>end try</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark A. Donohoe</title>
		<link>http://MacDeveloperTips.com/applescript/toggle-finder-hidden-file-status.html/comment-page-1#comment-255</link>
		<dc:creator>Mark A. Donohoe</dc:creator>
		<pubDate>Thu, 05 Jun 2008 06:50:27 +0000</pubDate>
		<guid isPermaLink="false">http://MacDeveloperTips.com/applescript/toggle-finder-hidden-file-status.html#comment-255</guid>
		<description>You can also use 

    do shell script &quot;killall Finder&quot;

instead of the delay method above as this automatically restarts finder for you.  Much cleaner and no delay needed.</description>
		<content:encoded><![CDATA[<p>You can also use </p>
<p>    do shell script &#8220;killall Finder&#8221;</p>
<p>instead of the delay method above as this automatically restarts finder for you.  Much cleaner and no delay needed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: john</title>
		<link>http://MacDeveloperTips.com/applescript/toggle-finder-hidden-file-status.html/comment-page-1#comment-122</link>
		<dc:creator>john</dc:creator>
		<pubDate>Sun, 11 May 2008 04:33:46 +0000</pubDate>
		<guid isPermaLink="false">http://MacDeveloperTips.com/applescript/toggle-finder-hidden-file-status.html#comment-122</guid>
		<description>If you install the Mac developer tools (ie, Xcode), there is an application in the Applications/Utilities folder called Icon Composer. You can also use other programs such as photoshop, fireworks, etc. I imagine a search on google would turn up a long list of tutorials on how to create an icon. This is a good idea for a future post...

If you prefer, you can copy an icon from any other Mac app: http://macdevelopertips.com/system/changing-an-application-icon.html</description>
		<content:encoded><![CDATA[<p>If you install the Mac developer tools (ie, Xcode), there is an application in the Applications/Utilities folder called Icon Composer. You can also use other programs such as photoshop, fireworks, etc. I imagine a search on google would turn up a long list of tutorials on how to create an icon. This is a good idea for a future post&#8230;</p>
<p>If you prefer, you can copy an icon from any other Mac app: <a href="http://macdevelopertips.com/system/changing-an-application-icon.html" rel="nofollow">http://macdevelopertips.com/system/changing-an-application-icon.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bbiker</title>
		<link>http://MacDeveloperTips.com/applescript/toggle-finder-hidden-file-status.html/comment-page-1#comment-121</link>
		<dc:creator>bbiker</dc:creator>
		<pubDate>Sun, 11 May 2008 04:24:33 +0000</pubDate>
		<guid isPermaLink="false">http://MacDeveloperTips.com/applescript/toggle-finder-hidden-file-status.html#comment-121</guid>
		<description>Total newbie to Mac (although I bought the 1st fishbowl, way back then).

Where do I find instructions on how to create an icon for an application.  Currently, my Mac shows the hidden files so your script comes in handy.

Thank</description>
		<content:encoded><![CDATA[<p>Total newbie to Mac (although I bought the 1st fishbowl, way back then).</p>
<p>Where do I find instructions on how to create an icon for an application.  Currently, my Mac shows the hidden files so your script comes in handy.</p>
<p>Thank</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: grndlvl</title>
		<link>http://MacDeveloperTips.com/applescript/toggle-finder-hidden-file-status.html/comment-page-1#comment-89</link>
		<dc:creator>grndlvl</dc:creator>
		<pubDate>Thu, 01 May 2008 23:48:20 +0000</pubDate>
		<guid isPermaLink="false">http://MacDeveloperTips.com/applescript/toggle-finder-hidden-file-status.html#comment-89</guid>
		<description>Awesome thanks for the script.  Just a little note this will not work unless you have previously set finder to show hidden files. Just FYI. Strange. I guess it wont work if the default ShowAllFiles was never set.</description>
		<content:encoded><![CDATA[<p>Awesome thanks for the script.  Just a little note this will not work unless you have previously set finder to show hidden files. Just FYI. Strange. I guess it wont work if the default ShowAllFiles was never set.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
