我正在制作一个电子表格,我需要重新设置每个星期,我试图使用PyDrive API制作完美的文件副本与下面的代码。 我的问题是,我不能指定哪个文件夹我想保存副本。我想有一个名为“存档”,其中包含我所有的备份文件夹。这是可能的,使用PyDrive,如果是这样,如何?谢谢! ## Create a new Document in Google Drive
from pydrive.auth impor
如何使用App脚本查找Google文档是否为空白?我试过这个 function myFunction()
{
var body = DocumentApp.getActiveDocument().getBody();
var para = body.getParagraphs();
var count = 0;
for (i = 0; i < para.l
我正在尝试在Google文档的Google应用脚本中添加一种'打字机效果'。我想让它输入文本,在这种情况下是维基百科文章,就好像用户正在输入文字一样,所以请加上延迟。不幸的是函数appendText(),即使你使用Utilities.sleep,它仍然只是在脚本完成后立即键入整个文章。我会用什么函数来完成这样的事情? function onOpen(e) {
DocumentApp.ge