Mounting AFP with AppleScript putting a hyphen in the mount name?
tell application "Finder"
try
mount volume "afp://username:password@192.168.0.10/live"
end try
end tell
The problem is, occasionally (but not always) this will create an empty "live" folder in /Volumes/, along with a proper mount under the name "live-1". Does anyone know how I can prevent this from happening?