Created
September 24, 2024 16:17
-
-
Save tiagobnobrega/de5d769afea6a9a71b9c4493f7adee54 to your computer and use it in GitHub Desktop.
open iterm apple script
This file contains hidden or 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
set appName to "iTerm" | |
if application appName is running then | |
tell application "iTerm" to create window with default profile | |
else | |
tell application "iTerm" to activate | |
end if |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment