Re: Mounting and Dismounting local or server volumes on Tiger
Re: Mounting and Dismounting local or server volumes on Tiger
- Subject: Re: Mounting and Dismounting local or server volumes on Tiger
- From: Jacques Ravanat <email@hidden>
- Date: Mon, 17 Oct 2005 15:04:29 +0200
Thanks to Michael Schmidt for solving question 1.
From Yvan Koenig answer to question 3, I should reformulate it more
accurately :
•3• Is there anything special in the construction of "Disk Utility"
application, which prevents it to have an AS dictionary ?
Any solution for question 2 (mounting and dismouting a secondary disk
or a partition) ?
Jacques Ravanat
Le 17 oct. 05 à 14:13, Michael Schmidt a écrit :
Question 1:
tell app "Finder"
eject "G3400-X"
end tell
-- or --
do shell script "umount -f /Volumes/G3400-X"
CU
Michael Schmidt
Hamburg
Am 17.10.2005 um 11:43 schrieb Jacques Ravanat:
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 (Applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
40hbv.de
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (Applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
40cegetel.net
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:
This email sent to email@hidden