Mailing Lists: Apple Mailing Lists

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

Mounting and Dismounting local or server volumes on Tiger



On Tiger, AS code to mount a volume located on a local server, can be :

tell application "Finder"
    if not (exists disk "G3400-X") then
        mount volume "afp://PB-G3400.local/G3400-X/" as user name "Jacques" with password "abcdefg"
        --mount volume "afp://jacques:email@hidden/G3400-X/"
    end if
end tell

•1• What is the correct code for dismounting it ?

•2• What is the correct code to mount a secondary local disk or a partition of the startup disk when it has been dismounted ?

•3• What does prevent  "Disk Utility" to be scriptable ?

Thanks for your help and/or any comments.

Jacques Ravanat



 _______________________________________________
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

This email sent to 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.