It sounds like you want to do this through automation--that is through a script. I don't think you can currently create a new project this way. You may want to create a blank project from within the Editor and use it within your script (make a copy, modify the codes, etc.).