gpt4 book ai didi

android - 如何从 Android Google Drive App 运行 google 电子表格中的脚本?

转载 作者:行者123 更新时间:2023-11-29 01:45:42 25 4
gpt4 key购买 nike

我尝试了以下方法:

  1. 创建菜单项
    -> 在 android google drive app 中找不到菜单。

  2. 画一个按钮并分配功能
    -> android google drive app 无法显示按钮。

  3. 为onOpen()添加函数
    -> 当我从 android google drive 应用程序打开电子表格时,该功能不会执行。

那么,怎么做呢?

最佳答案

我发现在 Google 表格应用程序中运行脚本的唯一方法是使用 onEdit() 触发器。您设计了一个永远不会作为真实数据输入的代码。当您输入代码时,onEdit() 可以运行脚本函数,就像您从菜单或脚本编辑器中运行它一样。这听起来很不靠谱,但实际上效果很好。

关于android - 如何从 Android Google Drive App 运行 google 电子表格中的脚本?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21673072/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com