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
on execInNewTab(_title, _command) | |
tell application "Terminal" | |
activate | |
set currentTab to do script _command | |
set custom title of tab 1 of window 1 to _title | |
end | |
end execInTerminalTab | |
on execInTerminalTab(_command, _window, _tab) | |
tell application "Terminal" |