Show or Hide Desktop Icons With AppleScript Action in DintAction
- 1 minutes read - 87 wordsWhen preparing app preview movie for Mac App Store, i prefer hide my desktop icons first, this will give a clean desktop in the movie.
Hide desktop icons with AppleScript
Add a new AppleScript action in DintAction, below is the script:
do shell script "defaults write com.apple.finder CreateDesktop false; killall Finder"
Show desktop icons back again
After the screen recording completed, you can get back desktop icons with this script:
do shell script "defaults write com.apple.finder CreateDesktop true; killall Finder"
Please note: the script will relaunch Finder