Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tell application "iTerm2"
- set newWindow to (create window with default profile)
- tell current session of newWindow
- write text "ls -l;"
- end tell
- activate
- end tell
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement