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/b90c8c50-ebc7-f41a-3fec-c4a80cae600f%40bluewin.ch.

Reply via email to