Unmounting a volume

ok… we all know how to mount a volume via a script… (mount volume “afp//:…” etc)
how do you dismount a volume?
Thanks!

…" etc)

: how do you dismount a volume?

: Thanks!

Use a “put away” command from the Finder.

Marc K. Myers
AppleScriptsToGo

[02/13/2002 12:54:26 PM]

: Use a “put away” command from the Finder.
And under OS X it’s “eject disk”

tell application "Finder"
    eject disk "Mac HD" -- or whatever the disk is called
end tell

: Use a “put away” command from the Finder.

 Marc K.

I know almost nothing about AppleScript but am in need of the same help.

I cannot figure out the syntax of ‘put away’.

Say I have a mounted AppleShare volume called “Volume”. How would I script that to be put away? Do I need to activate the finder first because to mount a volume all you need is mount volume “afp://username:password@IP/sharepoint”.

thanks!