Created
April 19, 2020 10:20
-
-
Save ignlg/414506f80040a386652391b12262b765 to your computer and use it in GitHub Desktop.
Applescript to open a new iTerm window with Alfred and run the written command.
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 alfred_script(q) | |
tell application "iTerm" | |
activate | |
create window with default profile | |
select first window | |
set onlywindow to true | |
tell the first window | |
tell current session to write text q | |
end tell | |
end tell | |
end alfred_script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment