This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 1. Place in ~/Library/Scripts and enable the Applescript menu via the Applescript Editor | |
-- (Or export to .app to run from spotlight.) | |
-- 2. Substitute "vpn.example.com" and "redacted" for your VPN server and password | |
-- 3. Open Security & Privacy System Preferences, go to Privacy, Accessibility | |
-- 4. Enable Applescript Editor and System UI Server (or for this .app if so exported) | |
-- 5. Trigger script from the menu (or run from spotlight) | |
-- 6. Enjoy being connected | |
-- 7. Run script again to close connection | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd ${0%/*} || exit 1 # run from this directory | |
# Source tutorial run functions | |
. $WM_PROJECT_DIR/bin/tools/RunFunctions | |
runParallelStampede () | |
{ | |
APP_RUN=$1; shift |