驱动器 API - 创建文件
Drive API - Create File
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]
})
呃,我 post 后不久就找到了答案。如果其他人需要知道它
DriveApp.createfile(pdf)
抱歉浪费大家的时间!
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]
})
呃,我 post 后不久就找到了答案。如果其他人需要知道它
DriveApp.createfile(pdf)
抱歉浪费大家的时间!