Quick and easy help scripting TextEdit--Got it

How do you make a new document in TextEdit? I tried:


make new document

but I get an error. I’ve seen snippets of code that have parameters with the make command. What command will simply make a new document in TextEdit? Thank you for your help.


After searching for a while here, I found what I needed


make new document at beginning