Add content of showModalDialog() to the clipboard Google Script
I have formatted data being added to a Modal Dialog when I click a button I want to the content of the showModalDialog() to be automatically added to the clipboard when I click the button as well The modal is being generated with the below code, and temp is the output I want added to the clipboard //Output to Html var htmlOutput = HtmlService .createHtmlOutput(temp) .setSandboxMode(HtmlService.SandboxMode.IFRAME) .setWidth(600) .setHeight(500); SpreadsheetApp.getUi().showModalDialog(htmlOutput, 'Filter OptionList Maker'); Edit; Ok, I guess maybe the Modal Dialog might be beside-the-point and