Network automounter

I made automounter with ApplseScript but the problem is that the server is in folder /Network/LOCAL/.
The script cannot find the server from that folder…
I don’t know server’s IP number which would be the best solution for the problem.

The script is:


on run 
    tell application "Finder" 
        mount volume "afp://MYSERVER" 
    end tell 
end run

So the question is: how to make the script connecting server under the Local folder?
Thanks!

I’m not sure I understand what your issue is exactly - but here is the entry form standard definitions that ytou should be looking at:

mount volume‚v : Mount the specified AppleShare volume
mount volume string : the name or URL path (starting with ˜afp://') of the volume to mount
on server string : the server on which the volume resides; omit if URL path provided
[in AppleTalk zone string] : the AppleTalk zone in which the server resides; omit if URL path provided
[as user name string] : the user name with which to log in to the server; omit for guest access
[with password string] : the password for the user name; omit for guest access

eg:

mount volume "afp://MYSERVER/Sharename" as user name "Fred Smith" with password "blahblah"

or:

mount volume "afp://"fred smith":"blahblah"@MYSERVER/Sharename"