Google apps script 驱动器API-创建文件
谷歌正在贬低DocsList API,我正试图为DocsList.createFile(pdf)找到一个解决方案,但似乎找不到如何做到这一点的方法?当脚本运行时,我基本上只想在我的驱动器上存储文件的pdf副本 任何帮助都会很好Google apps script 驱动器API-创建文件,google-apps-script,google-sheets,Google Apps Script,Google Sheets,谷歌正在贬低DocsList API,我正试图为DocsList.createFile(pdf)找到一个解决方案,但似乎找不到如何做到这一点的方法?当脚本运行时,我基本上只想在我的驱动器上存储文件的pdf副本 任何帮助都会很好 DocsList.createFile(pdf); MailApp.sendEmail({ to:"email address here", subject: "Weekly File" + "_" + "Sent on " + CopyDate, body:"(This
DocsList.createFile(pdf);
MailApp.sendEmail({
to:"email address here",
subject: "Weekly File" + "_" + "Sent on " + CopyDate,
body:"(This is an automated email.).....Attached is a copy of the weekly file sent on" + " "+CopyDate,
attachments: [pdf]
})
我一发帖就找到了答案。如果其他人需要知道
DriveApp.createfile(pdf)
对不起,浪费了大家的时间