I need to use Edit event on Google Doc, but the only trigger that i found was onOpen: https://developers.google.com/apps-script/guides/triggers/events#google_docs_events. Is there any solution to check instantly the changes made by user in the Doc, not using deprecated The Realtime API and pulling the document or adding submit button?
Asked
Active
Viewed 48 times
2
-
go here: https://developers.google.com/apps-script/reference/ the type triggers in the search box – Cooper Sep 02 '20 at 17:17
-
Don't think there's any direct trigger , but you could poll: See https://stackoverflow.com/questions/24773177 – TheMaster Sep 03 '20 at 07:30
1 Answers
0
Unfortunately there are no onEdit()
, onChange()
triggers for Google Docs.
The triggers available for Google Docs are the following:
onOpen()
triggers both simple and installable;time driven
triggers;onInstall()
simple triggers.
What you can do instead is file a Feature Request on Issue Tracker where you specify the details needed.
Reference

ale13
- 5,679
- 3
- 10
- 25