Re: Making CD invisible
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