Changing Font of Selected Text to 'Google Sans' on Google Document using Google Apps Script
This is a sample script for changing the font of selected text to Google Sans on Google Document using Google Apps Script.
Sample script
Please copy and paste the following script to the script editor of Google Document And, when you use this script, please select a text in Google Document and run the script. By this, the font of selected text is changed to Google Sans.