Skip to content

Commit

Permalink
add osx start all with tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
onlypuppy7 committed Nov 27, 2024
1 parent b9b1f64 commit e27df1f
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions osx_start_all_tabs.command
Original file line number Diff line number Diff line change
@@ -0,0 +1,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_game.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"

0 comments on commit e27df1f

Please sign in to comment.