How to hide all desktop icons with a shortcut [Mac]

Описание к видео How to hide all desktop icons with a shortcut [Mac]

Update: If you allready have Alfred installed on your Mac, you can set up the shortcut there instead. It's possible to use only one applescript instead of the two I use in the video. Use this Applescript and only one shortcut:

tell application "Finder"
if window of desktop is visible then
set the collapsed of window of desktop to true
else
open the window of the desktop
end if
end tell

You need Spark to do this, Spark is a free app to make keyboard shortcuts with.

Download Spark from here: http://bit.ly/shortened

The 1st Applescript (to make icons disappear):

do shell script "defaults write com.apple.finder CreateDesktop -bool false"
do shell script "killall Finder"

The 2nd Applescript (to get the icons back):

do shell script "defaults write com.apple.finder CreateDesktop -bool true"
do shell script "killall Finder"

Please follow @macgeeky @ Twitter for more tips:   / macgeeky  

Комментарии

Информация по комментариям в разработке