diff --git a/scripts/cueme b/scripts/cueme new file mode 100755 index 0000000..5bd841b --- /dev/null +++ b/scripts/cueme @@ -0,0 +1,18 @@ +#!/bin/sh + +# osascript -e "tell application \"Terminal\" " -e "tell application \"System Events\" +CUEME1=/Volumes/malloc-dev/cueme/source/cueme +CUEME2=/Volumes/malloc-dev/cueme/source/cueme/app/source/fapp + + +osascript \ + -e "tell application \"Terminal\"" \ + -e "tell application \"System Events\" to keystroke \"t\" using {command down}" \ + -e "do script \"cd $CUEME1; 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 $CUEME2; clear\" in front window" \ + -e "end tell" > /dev/null diff --git a/scripts/ncww b/scripts/ncww new file mode 100755 index 0000000..9d277dd --- /dev/null +++ b/scripts/ncww @@ -0,0 +1,31 @@ +#!/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