Re: Writing a script that *unmounts* servers
Re: Writing a script that *unmounts* servers
- Subject: Re: Writing a script that *unmounts* servers
- From: Todd Reid <email@hidden>
- Date: Wed, 30 Apr 2003 15:47:26 -0600
Try this:
tell app "Finder"
eject "server name"
end tell
Todd
On 4/30/03 2: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.
>
Creo | Creative Software Group
todd reid | quality assurance engineer | +1.720.932.4718
email@hidden |
http://www.creo.com/sixdegrees
IMAGINE CREATE BELIEVE
_______________________________________________
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.