Can you hide specific icons on the desktop?

Discussion in 'macOS' started by HXGuy, Aug 27, 2010.

  1. HXGuy macrumors 68000

    Mar 25, 2010
    I've got an external HD hooked up to my iMac and it has some software on there that brings up a CD icon on the desktop.

    Is there a way to hide just that specific icon?

    I know you can go to Finder and uncheck so that it doesn't show CD/DVD icons on the desktop...but that would mean anytime I pop in a CD it wouldn't show up and I don't want that, just want to hide the specific App icon.
  2. Caleb531 macrumors 6502


    Oct 17, 2009
    The best and easiest way to do it is to create an AppleScript app from the code below: (just set diskName to the name of the drive)

    tell app "System Events" to set visible of disk diskName to false

Share This Page