connection script automation

hello all,

im trying to automat a script that connects a client with a peer.
it works fine as a programm.
when i try to put it into the startup items it am prompted for
the password. ?

any ideas? timeout ?

thanx in advance


ps: all systems running osx10.3.3
here is the script:
global pass

set pass to “passw”

tell application “Finder”
mount volume “afp://” & “/” & “somehd” as user name “user” with password pass

end tell

Try it like this:

mount volume (uName & ":" & passWd & "@ipaddresshere/" volumeName) as string

There is no need to activate the Finder, mount volume is in the standard addtions.

HTH -john