Software Development => Win32Pad => Topic started by: Ferrari328 on June 09, 2008, 12:52:57 pm

Title: Feature request
Post by: Ferrari328 on June 09, 2008, 12:52:57 pm
MS Word takes the first line in a document as the default filename in Save As... Would it be possible to add that to this excellent program?



Title: Re: Feature request
Post by: Roger on July 05, 2008, 11:46:37 am
I can see why some people might enjoy this feature.

Why not do it by hand, and thus not add to the size of the EXE?

Try this: Highlight as much of the first line as you want to be included in your file name, and do a CTRL+C. Now do a CTRL+End and create a temporary blank line by pressing ENTER. Now paste: CTRL+V.

Replace the spaces between words by hand with underline characters «_». Then highlight all that, and do a CTRL+X (cut). Go to SAVE AS and paste in your new file name, which is derived from the 1st line of the text.

NEVER include spaces in file names: not because of Win32Pad, but because it's a bad idea. In the naming of files, stick always with 0-9,a-z,A-Z and _.  If you do that, you will not experience unhappy surprises down the road.