Page 1 of 1

Save file with first line as file name

Posted: Wed Nov 01, 2017 2:07 am
by damienf
Is there an option or setting for Textpad to save a file with the first line as file name?

Posted: Thu Nov 09, 2017 9:27 am
by bbadmin
There isn't an option to include the file name when saving a file, but you can insert the file name from the Edit menu Insert/File name. You can create a keyboard shortcut for this option under Configure/Preferences/Keyboard.

I hope this helps.

Posted: Thu Nov 09, 2017 12:39 pm
by MudGuard
I did understand the question completely different.

I thought Damien wanted to create a new document, type in some lines of text, and then save it, using the content of the first line as filename.

e.g. when the text of the new file is

Code: Select all

this is some text 
which is in the file
then saving the file would result in a file named "this is some text.txt"

Posted: Thu Nov 09, 2017 4:19 pm
by ak47wong
I understood the question the same as MudGuard. But the answer is the same: can't be done :)

Posted: Sat Nov 18, 2017 11:45 pm
by damienf
The question goes as stated by MudGuard.

I would find this option useful.