Or Ruby, or TCL...
Virtually all software tools designed by Cadence, Synopsys, and Mentor include a Tcl REPL/console.
Any task performed in the GUI is actually executed in the REPL, making it easy to replicate a specific flow by just copy/pasting the commands displayed in the REPL into a Tcl script.
To load a script, you simply pass it as an argument when running the software.