- opens a dialog that asks for a file name;
- if the file does not exist, an empty (0 byte) file with this name is created;
- the file is opened with the program that is associated to the file name extension.
Example:
If you pass a 0 byte file with extension .docx to MS Word, Word opens the file without complaint. Upon save (Ctrl+S), it silently turns the file into a real .docx file with the corresponding header, etc.
If you try the same with .xlsx files, Excel will reject the empty .xlsx file.
My suggestion ist to have template support for "Create new file" (Shift+F4):
- opens a dialog that asks for a file name (--> as before);
- if the file does not exist, a new file with this name is created;
NEW: Depending on the extension, a default template file will be copied – OR – a template can be selected from a dropdown list.
E.g., for “test.xlsx” a (default) Excel template file will be copied to test.xlsx in the current folder.
To support several templates for the same extension, a dropdown list could provide the options.
- the file is opened with the program that is associated to the file name extension. (--> as before)
Even though it means some implementation work for the TC author to provide template configuration, I would consider is this feature very useful.
((
Yes, one could create button that copies a template file and then rename and edit it manually.
And also yes, an AHK script could be used.
Actually, I would consider is this feature very useful when directly implemented in TC.
))