是否可以在Google Apps脚本中生成鼠标动作和击键(类似于SendKeys)?

发布于 2025-02-04 03:38:00 字数 156 浏览 3 评论 0原文

我正在尝试在Google Apps脚本中编写代码,类似于我在VBA中所做的事情。 我需要管理一个网页(写一些文本,单击一些按钮),但是在Google Apps脚本中,我找不到任何带有按键或鼠标操作的线程或文本。 在VBA中,将使用Mouse_event lib“ user32”和sendkeys。

I'm trying to write a code in Google Apps Script similar to something I do in VBA.
I need to manage a webpage (write some text, click some buttons) but I can't find any thread or text with Keystrokes or Mouse Actions in Google Apps Script.
In VBA would use mouse_event Lib "user32" and SendKeys.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

ˉ厌 2025-02-11 03:38:00

我到处都是,可悲的是,我找不到一个宠爱的帖子,但是我发现一对夫妇确认这是不可能的。
我希望找到一种选择,但到目前为止,唯一的是VBA。

I've looked everywhere and sadly I couldn't find a single post on favor but I've found a couple confirming that it is not possible.
I hope to find an alternative but so far the only one is VBA.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文