Need a hint for quick page creation

Hello, tell me if there is a possibility when creating a page do not click on save and immediately create.

I just made a macro of the directory tree as a template, and nothing needs to be changed in it. I would like to immediately save the page after selecting the template automatically. (is there such a code)
I will be grateful for the help)))

When you create / edit the template provider, you can specify the “Action on create”. See http://extensions.xwiki.org/xwiki/bin/view/Extension/Administration+Application#HCreatetheTemplateProvider . Unfortunately, the only actions available right now are “Edt” and “Save and edit”. There’s no “Save” (only) action, but it should be easy to add, if you report an issue.