forked from onlypuppy7/LegacyShell
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathosx_start_all_tabs.command
More file actions
executable file
·15 lines (11 loc) · 987 Bytes
/
osx_start_all_tabs.command
File metadata and controls
executable file
·15 lines (11 loc) · 987 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash
current_dir="$(cd "$(dirname "$0")" && pwd)"
osascript -e "tell application \"Terminal\" to activate" \
-e "tell application \"System Events\" to tell process \"Terminal\" to keystroke \"t\" using command down" \
-e "tell application \"Terminal\" to do script \"cd '$current_dir' && source osx_start_client.command\" in last tab of front window"
osascript -e "tell application \"Terminal\" to activate" \
-e "tell application \"System Events\" to tell process \"Terminal\" to keystroke \"t\" using command down" \
-e "tell application \"Terminal\" to do script \"cd '$current_dir' && source osx_start_services.command\" in last tab of front window"
osascript -e "tell application \"Terminal\" to activate" \
-e "tell application \"System Events\" to tell process \"Terminal\" to keystroke \"t\" using command down" \
-e "tell application \"Terminal\" to do script \"cd '$current_dir' && source osx_start_game.command\" in last tab of front window"