0

I'm trying to write a script to concatenate multiple documents into a single, large document. Essentially, the inputs are all the documents in a specified folder and the output is a single, combined document.

I'm unsure as to how to go about this. Since getContentAsString() returns plain text, should I be looking into returning it as a Blob and using that? Are there any scripts that provide this functionality already?

Thanks!

Nick Sweet
  • 2,030
  • 3
  • 31
  • 48

1 Answers1

0

You can have a look at Henrique's answer in this post It will need some minor modifications to do what you want..

Community
  • 1
  • 1
Serge insas
  • 45,904
  • 7
  • 105
  • 131