With the createParagraphStyle function a ParagraphStyle can be created using the scripter, however, the scripter cannot do anything else with it. It would be nice if a paragraph style could be set for some text object