Please instead give the Edit -> Insert -> File Contents... command a try, and once you've brought up the file selection sheet, click the "Options" button at the lower left-hand corner as both provided options are relevant to your desired outcome. :-)
Regards, Patrick Woolsey == Bare Bones Software, Inc. <https://www.barebones.com/> > On Jan 22, 2022, at 06:27, samar <[email protected]> wrote: > > When I drag a set of text files from the Finder into an empty text file in > BBEdit, the contents of these text files are copied into the new file: > > <start> > contentsofmyoldfile1 > contentsofmyoldfile2 > contentsofmyoldfile3 > <end> > > This is fine, but how can I have a separator (===), the name of each copied > file, and an empty paragraph added before its content? What I need is this: > > <start> > === > myoldfile1.txt > > contentsofmyoldfile1 > === > myoldfile2.txt > > contentsofmyoldfile2 > === > myoldfile3.txt > > contentsofmyoldfile3 > [etc.] > <end> > > I assume achieving this would require some scripting knowledge, but alas, I'm > not there yet. > > Thanks > Sam -- This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "[email protected]" rather than posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit> --- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/AF07933D-2023-4A47-9096-521E13AA3875%40barebones.com.
