Scripting iTerm2

26 views
Skip to first unread message

Eric G

unread,
Nov 27, 2024, 2:48:25 PM11/27/24
to iterm2-discuss
I was curious...

On the Documentation page, there is a link to Scripting documentation. However, this documentation discusses scripting with AppleScript.

I am not sure how or it if it can be reached otherwise, by a google search for "iterm2 python" brings me to documentation on scripting with Python. The tutorial says:

> The iTerm2 Python API is a replacement for the AppleScript API that preceded it. 
> It offers a more powerful set of APIs that give the script writer a great deal of 
> control.

Has Python replaced AppleScript now? Is scripting Python iTerm2 stable?

George Nachman

unread,
Nov 27, 2024, 3:00:00 PM11/27/24
to iterm2-...@googlegroups.com
AppleScript in iTerm2 is on life support and Python API is the preferred way to do scripting. It’s been out for something like 7 years and is stable. I see that the links to the docs somehow disappeared from the table of contents. I’ll add them back in the next website update. The missing links are:


--
You received this message because you are subscribed to the Google Groups "iterm2-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iterm2-discus...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/iterm2-discuss/b1e9362b-de17-4d00-a3f3-ee97e7ceb305n%40googlegroups.com.
Message has been deleted

Eric G

unread,
Nov 27, 2024, 4:53:06 PM11/27/24
to iterm2-discuss
Thank you for clearing that up. 
Reply all
Reply to author
Forward
0 new messages