Sheet Printer Settings - Edit Custom Fields

97 views
Skip to first unread message

Kevin -

unread,
Aug 13, 2022, 9:58:16 AM8/13/22
to Google Apps Script Community
Is there a way to programmatically access the custom fields in the Sheets print settings using Apps Script? I need access to the 3 header fields that appear after clicking Headers & Footers, EDIT CUSTOM FIELDS in the Google Sheet printer sidebar.
2022-08-12_18-26-50.jpg

Clark Lind

unread,
Aug 15, 2022, 1:22:23 PM8/15/22
to Google Apps Script Community
I don't think so. Most or all of the "print" functions are at the Browser level, and Apps script can't access the browser window object because it is sandboxed.
Reply all
Reply to author
Forward
0 new messages