Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to mount a volume?



Title: Re: How to mount a volume?
At 9:44 AM -0700 11/15/06, Michelle Steiner wrote:
On Nov 15, 2006, at 9:39 AM, Adam Bell wrote:

I use this for my external firewire (which always shows up at the end of the list):

set D to do shell script "diskutil list" -- gets a list of everything thats live and connected whether mounted or not.
set E to last word of last paragraph of D -- works for my case
do shell script "diskutil mount " & E -- mounts it.

Works for me.  Thanks.

No way to do it with vanilla AS, though, is there?

-- Michelle

Nothing more Vanilla than than, Michelle. BTW the second line can be simplified if your external is indeed the last thing in the list:

set E to last word of D -- don't really need the 'last paragraph' part. I just put it in in case your external wasn't last.

Adam

--
Reading computer manuals without the hardware is as frustrating as reading sex manuals without the software.
-- Clarke's sixth law


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

This email sent to email@hidden

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

This email sent to email@hidden

References: 
 >How to mount a volume? (From: Michelle Steiner <email@hidden>)
 >Re: How to mount a volume? (From: Adam Bell <email@hidden>)
 >Re: How to mount a volume? (From: Michelle Steiner <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.