在Google文档应用程序脚本中自动查找并替换 [英] auto find and replace in Google Docs App Script
问题描述
我正在尝试为Google文档(文档,而不是电子表格)创建一个记录模板/脚本,以便自动将缩写转换为完整的单词/短语(例如,输入'mgmt'会自动变为'管理')。我无法弄清楚这是如何实时发生的(与输入完成后运行脚本相比,这基本上是一个更快的查找和替换)。
任何提示?或者这甚至有可能?谢谢!
如果您在工具下查找并单击首选项,那就是您要查找的内容。
干杯。
I'm trying to create a note-taking template/script for Google Docs (docs, not spreadsheets) that automatically converts abbreviations into full words/phrases (ex. typing 'mgmt' automatically turns into 'management'). I can't figure out how have this happen in real-time (vs. running the script after typing is done, which would basically be a quicker find and replace).
Any tips? Or is this even possible? Thank you!
If you look under "Tools" and click "Preferences", that would be what you are looking for.
Cheers.
这篇关于在Google文档应用程序脚本中自动查找并替换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!