Re: Writing a script that *unmounts* servers
Re: Writing a script that *unmounts* servers
- Subject: Re: Writing a script that *unmounts* servers
- From: Courtney Moore <email@hidden>
- Date: Thu, 01 May 2003 09:41:17 -0500
I have had luck unmounting servers by using the following the following
script:
Tell application "Finder"
Eject "nameOfServer"
End tell
You could also try creating an apple script that does the shell script
umount in Terminal.
On 4/30/03 3:49 PM, "Andrew" <email@hidden> wrote:
>
Is there anyways of unmounting servers in macOS X?
>
>
On 4/30/03 3:39 PM, "Todd Reid" <email@hidden> wrote:
>
>
> While not the most elegent script, this one works for me every morning:
>
>
>
> tell application "Finder"
>
> try
>
> if not exists volume "afp://<server IP address here>" then
>
> mount volume "afp://<server IP address here>"
>
> end if
>
> end try
>
> end tell
>
>
>
> Todd Reid
>
> Creo, Inc.
>
>
>
> On 4/30/03 11:17 AM, "Vic Piercy" <email@hidden> wrote:
>
>
>
>> Can anyone help me with a few helpful hints on how to tell finder to mount a
>
>> server without having the dialog boxes show up? I am somewhat familiar with
>
>> applescript and with a little help I think I could figure it out. This is my
>
>> first post so please be patient. Thanks in advance!
>
_______________________________________________
>
applescript-users mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/applescript-users
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.