|
InterMapper Remote allows you to use helper applications to perform other functions. For example, you can use Timbuktu Pro to connect to a remote server and administer it.
This note describes how to set up an AppleScript on MacOS X that gives a command to Timbuktu Pro to connect to the server you have right-clicked on.
You can use the built-in osascript command to launch Timbuktu Pro using an inline AppleScript. Here are the settings for the 'Customize' dialog:
Title: Timbuktu
Command Line: ${PATH} ${ARGS}
Path: /usr/bin/osascript
Arguments:
-e "tell application \"Timbuktu Pro\" to activate"
-e "tell application \"Timbuktu Pro\" to make new control session
connecting to internet address {internet name:\"${ADDRESS}\",
ip address:\"${ADDRESS}\"}"
Note that the "Arguments" (shown on four lines in the example above) must all be on one line. We invoke osascript with two -e options because there are two lines in the AppleScript.
|