I'm trying to figure out if it is it possible to reverse engineer a Google Doc into Google Apps Script File? I'd like to be able to evaluate a Google Doc (GD#1) by its URL and convert that doc into a Google Apps Script file (AS-GD#1) that contains all the Apps Script and document content needed to create an exact replica of GD#1. I do not want the script to "copy" GD#1. I want the script to create a new Apps Script File that contains all the methods, content, etc... of GD#1.
Does that make sense?
If possible, I'm looking for push in the right direction.