• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Making CD invisible
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making CD invisible


  • Subject: Re: Making CD invisible
  • From: Matt Deatherage <email@hidden>
  • Date: Mon, 16 Jul 2007 12:26:32 -0500

On 7/16/07 at 11:48 AM, Mike Smith <email@hidden> wrote:

> I have looked through man hdiutil and haven't found anything about
> making it invisible. Perhaps someone will see this and have the answer
> (I hope!)...

Contrary to oft-mentioned wisdom on this list, "do shell script" is
*not* the answer to all problems.

tell application "Finder"
    tell Finder preferences
        set desktop shows removable media to false
    end tell
end tell

Set it back to "true" to make them show up again.   This is the same
thing as manipulating the second checkbox in Finder > Preferences >
General ("Show these items on the Desktop: CDs, DVDs, and iPods"), and
takes effect immediately.  Set it before you mount the disk image, which
is "removable media," and the icon won't show up on the desktop at all.

--Matt

--
Matt Deatherage                              <email@hidden>
GCSF, Incorporated                      <http://www.macjournals.com>

"Dumb is just not knowing. Ditzy is having the courage to ask! Ditzy is
 not editing yourself."  -- Jessica Simpson


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Making CD invisible
      • From: Jakob Peterhänsel <email@hidden>
  • Prev by Date: Re: Making CD invisible
  • Next by Date: Tracy Mitchell is out of the office.
  • Previous by thread: Re: Making CD invisible
  • Next by thread: Re: Making CD invisible
  • Index(es):
    • Date
    • Thread