• 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
Making CD invisible
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Making CD invisible


  • Subject: Making CD invisible
  • From: Mike Smith <email@hidden>
  • Date: Mon, 16 Jul 2007 09:48:25 -0700
  • Thread-topic: Making CD invisible

At the elementary schools I have some programs that require a CD be in the
CD tray in order to run. I have made the following script to mount three
images of these three CDs to the desktop.

It works great, although I am sure it can be refined, and it has been in use
for 2 years now. One refinement I would like to do is make the mounted
image(s) invisible. And I have to admit my reason is really nothing more
than cosmetic. I think it would look better and be less confusing to the K-4
grade users.

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!)...



tell application "Finder"

    try
        do shell script "hdiutil mount /Users/Shared/Oregon-Trail-5.dmg
-noverify -quiet"
    end try
    try
        do shell script "hdiutil mount /Users/Shared/Math-3-5.dmg -noverify
-quiet"
    end try
    try
        do shell script "hdiutil mount /Users/Shared/Math-K-2.dmg -noverify
-quiet"
    end try

end tell

Thanks for any help.

Mike
SSD119

 _______________________________________________
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: Axel Luttgens <email@hidden>
    • Re: Making CD invisible
      • From: "Fleisher, Ken" <email@hidden>
  • Prev by Date: Fw: Referencing the Print window in InDesign
  • Next by Date: Re: Making CD invisible
  • Previous by thread: Re: Setting TextEdit Insertion point
  • Next by thread: Re: Making CD invisible
  • Index(es):
    • Date
    • Thread