0

Is it possible to type a shortened text phrase and have Google Docs (or a third party extension) replace it with text provided to it by the user (me). It should work like Dot Phrases in Epic.

1

1 Answer 1

0

With Google Docs, Sheets, etc., one can use Google Scripting in the same way as one would use VBA to write macros for Word, Excel and so on.

The scripts are written in GoogleScript, which is an extension to JavaScript.

You can have such a script search a document (for example, a template) for the string(s) of text and replace them based on the contents of, say, a spreadsheet.

You can find more information here: Google Apps Script - Document Service

Another possibility is if you want to replace as you type.

For that, Google has introduced Smart Compose (AI powered) to Docs recently. This may not be what you are looking for, though.

What I believe you need is the Substitutions functionality. Under Tools -> Preferences-> Substitutions. You can configure there any string (e.g. #repl -> replace by this text). It will only replace with lowercase text, though.

2
  • Is there a way to inject custom "Tab Completes" for the Press Tab to Complete the phrase feature? Nov 2, 2020 at 0:27
  • Ah, sorry. I believe I misread your question. Google has introduced Smart Compose (AI powered) to Docs recently. This may not be what you are looking for, though: support.google.com/docs/answer/9643962?hl=en What I believe you need is the Substitutions functionality. Under Tools -> Preferences-> Substitutions. You can configure there any string (e.g. #repl -> replace by this text). It will only replace with lowercase text, though. Nov 2, 2020 at 21:36

Not the answer you're looking for? Browse other questions tagged or ask your own question.