0

Is there anyway to access and manipulate clipboard on a Google Docs document?

I checked in Google App Script docs and blogs and couldn't find a way for this yet..

The idea is to wrap a fixed text string around copied text, so copying:

AAAAAA  

would let the user paste:

" AAAAAAA " (appended_text_string)

So users could copy text quotes out of a given document, and paste the text in Powerpoint with quotation marks and some additional text data appended around it.

Rubén
  • 34,714
  • 9
  • 70
  • 166
Ansar Muhammad
  • 1,238
  • 5
  • 25
  • 45
  • Related: https://stackoverflow.com/questions/57681314/add-content-of-showmodaldialog-to-the-clipboard-google-script – TheMaster Sep 25 '20 at 12:31

1 Answers1

2

No. There is no way to do this. Google Drive offers a web clipboard, but it not accessible through the API.

See Is there any Web API for Google web clipboard?

Community
  • 1
  • 1
Srik
  • 7,907
  • 2
  • 20
  • 29