Issues with mount to server

I’m looking for a script that will auto-mount a server to the desktop, I thin I’m on the right track, but not quite there yet. I’m using OS 10.2.8 currently.

After searching through the forum, I aven’t been able to find or construct a script that will work. This is grammatically correct according to applescript, but I get

“Connection failed
An AppleShare system error occurred.”

tell application “Finder”
activate
mount volume “afp://192.168.1.102/file%20server” as user name “user” with password “password”
end tell

Any ideas?


mount volume "afp://user:pasword:192.168.1.102/file%20server" 

I can get that to work, but I’m trying to make it so I also don’t have to go through the extra step of typing in the user name and password, I know keychain can store them, but I want to bypass that dialouge altogether.