• 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: mounting drives
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mounting drives


  • Subject: Re: mounting drives
  • From: Joe <email@hidden>
  • Date: Fri, 24 Oct 2008 08:08:58 -0700

>Since Apple Disk Utility isnt scriptable does anyone know of a method, using AS to mount drives on the firewire buss that have been previously ejected?

To mount a FW drive by name:

set whatItem to (do shell script "diskutil list | grep 'My Book'")
do shell script "diskutil mount " & (last word of whatItem)

Joe
 _______________________________________________
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

  • Prev by Date: create duplicate event in iCal -- or repeating event every 3 hours
  • Next by Date: disk image format
  • Previous by thread: Re: mounting drives
  • Next by thread: choose file of type {}
  • Index(es):
    • Date
    • Thread