问题标签 [textrange]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
2 回答
59 浏览

google-apps-script - 在 Google Docs App Script 中填充文本范围的最佳实践

我在 google docs 中使用模板作为信件,我想通过 App Scripts 自动在信件的(动态)标题之后填写信件。是否有任何最佳做法可以将文本始终设置在同一位置?我尝试使用占位符并替换它。但有时我需要多次替换文本。