Automating the Mac OS Server Admin Software
Automating the Mac OS Server Admin Software
- Subject: Automating the Mac OS Server Admin Software
- From: email@hidden
- Date: Tue, 6 Feb 2001 12:42:29 -0500
Finally!
I have figured out a way to auto connect to Appleshare IP servers using
applescript so I no longer have to type in address's, names & passwords:
Basically, Here is what you will need:
- Mac OS 9.0.4 w/ Keychain Access and Applescript 1.4.3
- Mac OS Server Admin Software which comes with Appleshare IP (Tested on 6.3)
- Menu Events 1.3.1 <
http://www.magma.ca/~awolsp/>
- OSA Menu (Optional) <
http://www.lazerware.com>
First Install Menu Events and OSA Menu (I like to use this becuase all my
scripts are neatly organized and available with the click of my mouse)
Then you need to use the Mac OS Server Admin Software to connect to the ASIP
server you want to Administer. In the connection dialog click "Add to Keychain"
Once you are connected, Select the "Favorites" menu and select the server you
are currently connected to.
Open up your Script Editor (My Script Looks something like this)
tell application "Mac OS Server Admin"
try
Select Menu Item menu title "Favorites" menu item text "127.0.0.1"
with option key
end try
end tell
I save the script into the "Mac OS Server Admin Scripts Folder" and can connect
to an ASIP server with a single click.
One thing you want to be aware of is that your keyhain needs to be unlocked and
Mac OS Server Admin needs to be open
I know that you are going to say Mac OS Server Admin has a built in dictionary,
but try and get the "connect" function to actually work!
-Steve