Skip to content

Instantly share code, notes, and snippets.

View uurf's full-sized avatar

Chris Connors uurf

View GitHub Profile
@uurf
uurf / hide or show desktop icons.applescript
Created April 3, 2025 15:11 — forked from orkoden/hide or show desktop icons.applescript
AppleScript to hide your messy desktop icons during presentations for Mac OS X.
display dialog "Desktop icons visible or hidden?" buttons {"Visible", "Hidden"} with icon 2 with title "Switch to presentation mode" default button 1
set switch to button returned of result
if switch is "Hidden" then
do shell script "defaults write com.apple.finder CreateDesktop -bool FALSE;killall Finder"
else
do shell script "defaults delete com.apple.finder CreateDesktop;killall Finder"
end if
@uurf
uurf / hide or show desktop icons.applescript
Created April 3, 2025 15:11 — forked from orkoden/hide or show desktop icons.applescript
AppleScript to hide your messy desktop icons during presentations for Mac OS X.
display dialog "Desktop icons visible or hidden?" buttons {"Visible", "Hidden"} with icon 2 with title "Switch to presentation mode" default button 1
set switch to button returned of result
if switch is "Hidden" then
do shell script "defaults write com.apple.finder CreateDesktop -bool FALSE;killall Finder"
else
do shell script "defaults delete com.apple.finder CreateDesktop;killall Finder"
end if