Google Doc Script onEdit

2019-06-01 16:29发布

问题:

I want to build a Google Doc Extension.

Google Spreadsheets has an onEdit trigger, Google Documents don't seem to: https://developers.google.com/apps-script/understanding_triggers

Is there a way for me to handle user input (typing) cleanly?

Thanks!

回答1:

Not in Apps Script. If you write an app using the Drive API, you can use the Realtime API https://developers.google.com/drive/realtime/