Scripting Mac OS Server Admin
Scripting Mac OS Server Admin
- Subject: Scripting Mac OS Server Admin
- From: email@hidden
- Date: Fri, 5 Jan 2001 09:54:16 -0500
Hello All,
I am trying to write a simple AppleScript that allows me to connect to various
AppleShare IP servers using the Mac OS Server Admin software. According to the
Applescript Dictionary, This should be possible:
connect: Make a new connection to a host
connect
[to string] -- the name or IP of the server
[user string] -- the username to use with connection
[with password anything] -- password of given user
Result: reference -- Object specifier for the new element
Here is the script I am trying to work with:
-- For Security Reasons I am not going to inculde any valid Server IP
Information,
-- or User Name and Password Information
tell application "Mac OS Server Admin"
activate
connect to "127.0.0.1" user "userName" with password "passWord"
end tell
Can anyone provide me with some assistance or a sample script?
Thanks
-Steve