
If you want to give the file ID from the filename, please use following sample. Each method creates the converted file and return the created file ID. In order to use both script, please give file ID to each method. This is very important for a lot of users. Select the file format you would like to covert to, which in this case is Microsoft Word.

You’ll see a list of file formats appear within this menu.

Click File at the top of the document, then hover over Download. By this, users will be easy to use the scripts that Drive API is used. Open the file in Google Docs that you want to convert to Word format. This is Japanese language.) So you are not necessary to explain about the use of Drive API. Although Drive API v3 is used, Drive API is automatically enabled by the recent update on Google. This script converts between Google Docs and Microsoft Docs using UrlFetchApp.fetch().

Since Advanced Google Services is not used for this, if you publish your script with this script, you are not necessary to explain how to install Advanced Google Services. The feature is to convert them without Advanced Google Services. This sample script is for the interconversion between Google Docs (document, spreadsheet and presentation) and Microsoft Docs (word, excel and powerpoint). Interconversion Between Google Docs and Microsoft Docs
