“Create script” can be found by right clicking on an attribute in the AM.
If you want to get all the various parameter make sure to select them all before right clicking.
Also not that the script create is coffee, not python.
As for “create materials” I am not familiar with that command, and also don’t have R12 installed on this machine.
What is the function of this command?