Reputation: 419
I was wondering if there's a function like file.GetName(), however it would be something like file.GetScripts() to be able to find if a file has container-bound scripts.
see: https://developers.google.com/apps-script/reference/drive/file#getDescription()
Upvotes: 0
Views: 72
Reputation: 7367
I attempted something similar this past summer (summer 2014) and determined it was currently not possible, either via Apps Script nor via the Drive SDK.
In our case we were able to re-structure our project so the scripts we needed to interact with programatically were stand alone files on Drive, which we include in the relevant documents as Libraries.
Upvotes: 1