osxenv_pub/scripts/ncww

32 lines
1.1 KiB
Bash
Executable File

#!/bin/sh
# osascript -e "tell application \"Terminal\" " -e "tell application \"System Events\"
NC1=/Volumes/malloc-dev/nextcrypto/source/nc-ww
NC2=$NC1/app/ccc_fplugin
NC3=$NC1/app/ccc_gui_fb
NC4=$NC1/nc/nc-wc-ndk
osascript \
-e "tell application \"Terminal\"" \
-e "tell application \"System Events\" to keystroke \"t\" using {command down}" \
-e "do script \"cd $NC1; clear\" in front window" \
-e "end tell" > /dev/null
osascript \
-e "tell application \"Terminal\"" \
-e "tell application \"System Events\" to keystroke \"t\" using {command down}" \
-e "do script \"cd $NC2; clear\" in front window" \
-e "end tell" > /dev/null
osascript \
-e "tell application \"Terminal\"" \
-e "tell application \"System Events\" to keystroke \"t\" using {command down}" \
-e "do script \"cd $NC3; clear\" in front window" \
-e "end tell" > /dev/null
osascript \
-e "tell application \"Terminal\"" \
-e "tell application \"System Events\" to keystroke \"t\" using {command down}" \
-e "do script \"cd $NC4; clear\" in front window" \
-e "end tell" > /dev/null