As rwfranz pointed out, there’s an easy solution using AutoHotKey. A long time ago I created two AHK scripts. One of them uses Ctrl+; to pop up a dialog where you can type the name of a new document, then it creates that document as a child of the current document in the binder.
The other uses Ctrl+Shift+; to pop up a dialog to enter a filename, then creates a new file with that name outdented below the currently selected document in the binder.
These also work in Outline view.
The binder must have focus for these to work in the binder.
Here are the scripts, for anyone interested:
[code]^;:: ; this script sets Control + ; to open a dialog where you type the document name, then hits Enter, then Ctrl+Right. In Scrivener this creates a new document indented to the right below the current document.
{InputBox, vfilename, Document Name, Enter the name of the new document, , 400, 125 ; set ctrl+; to pop up input box and get name of new file
Send ^n
sleep, 200
Send %vfilename% {Enter}
Sleep, 200
Send ^{Right}
}
return
^+;:: ; this script sets Control + Shift + ; to open a dialog where you type the document name, then hits Enter, then Ctrl+Left. In Scrivener this creates a new document indented to the left below the current document.
{InputBox, vfilename, Document Name, Enter the name of the new document, , 400, 125 ; set ctrl+; to pop up input box and get name of new file
Send ^n
Sleep, 200
Send %vfilename% {Enter}
Sleep, 200
Send ^{Left}
;Send ^{Tab}
}
return
[/code]
To m ake these run only in Scrivener you can preface them with:
#IfWinActive, ahk_exe scrivener.exe
I’d be happy to help out if anyone wants to use these or has questions.