Google正在弃用DocsList API,我正在尝试找到DocsList.createFile(pdf)的解决方法,但似乎找不到如何执行此操作的方法?我基本上只想要在运行脚本时存储在我的驱动器上的文件的pdf副本。
任何帮助都会很棒!
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]
})
答案 0 :(得分:0)
DriveApp.createfile(pdf)
抱歉浪费任何时间!