The Premium version of Core Shell and Core Tunnel have AppleScript support, you can automate tasks and improve productivity with only a teaspoonful of programming knowledge.
The AppleScript dictionary contains the available AppleScript commands for Core Shell and Core Tunnel. To view the dictionary:
- Open the AppleScript Editor in Applications > Utilities.
- Choose File > Open Dictionary.
- Select Core Shell or Core Tunnel. Click Choose.
to waitUnitlConnected(tunnelName) tell application "Core Tunnel" connect tunnelName get state of first tunnel where name = tunnelName repeat until result = "Connected" delay 1 get state of first tunnel where name = tunnelName end repeat end tell end waitUnitlConnected tell application "Core Tunnel" my waitUnitlConnected("A Mysterious Tunnel") -- do some tasks ... -- disconnect "A Mysterious Tunnel" -- connect with tag "tag_name" -- disconnect with tag "tag_name" -- connect all -- disconnect all end tell