After creating a new spreadsheet and using addToFolder() the My Drive label remains. Can we remove it? Couldn’t retrieve a folder id for the My Drive root to use with removeFromFolder().
If not, I know we start from within a certain folder and use:
var folder = DocsList.getFolderById(id);
folder.createFile();
…but how do you do convert the file created to a spreadsheet?
the ‘my Drive’ folder is the “root folder”, try like this:
As for your other question about spreadsheets, have a look at this post answer