Bold words in your Doc using Google Apps Script

Creating an Apps Script to search a Google Document for elements (like text) that start with a particular word or set of words and then updating those words to be bold requires using Google Apps Script’s Document service. Here’s a step-by-step guide to creating such a script: This script only applies to text elements and … Read more

Google Apps Scripts to Clean Google Workspace Docs

I’ve added scripts and will be adding more to my GitHub repo at https://github.com/lsvekis/AppsScriptDocs

Google Apps Script to reset all fonts to normal within Workspace Docs

You can create a Google Apps Script to reset all normal text (including list items) to the default font size in a Google Docs document. Here’s a script that does that: Here’s how to use this script: This script will set the font size of all normal text (excluding headers and titles) and list items … Read more

Mastering ChatGPT A Comprehensive Guide free PDF loaded with examples and ideas

Introduction: Welcome to “Mastering ChatGPT: A Comprehensive Guide” – your gateway to harnessing the full potential of ChatGPT, the revolutionary language model by OpenAI! 🚀 In this comprehensive guide, we’ll embark on an exciting journey through the world of ChatGPT, exploring its capabilities, applications, and practical insights that can empower you in various domains. Whether … Read more

Google Apps Script to create a custom function that cleans and formats text in a Google Docs document

Here’s a basic example that removes extra spaces and trims the text: To use this script: This script will clean the text by removing extra spaces and trimming leading and trailing spaces. You can modify the cleanText function to include other text cleaning operations as needed. Remember to save and run the script whenever you … Read more

Automating Document Formatting: Reset Font Sizes in Google Docs with Apps Script

Creating an Apps Script to reset font sizes to default for headings and paragraphs in a Google Doc involves iterating through the elements of the document and changing their font size based on their type. Below is a basic script that does this. Note that Google Docs does not have a single “default font size” … Read more

The Dual Edges of ChatGPT: Capabilities and Limitations

In the rapidly evolving landscape of artificial intelligence, ChatGPT stands out as a beacon of progress and a testament to the strides made in natural language processing (NLP). Developed by OpenAI, ChatGPT is a variant of the Generative Pre-trained Transformer models, fine-tuned for engaging in dialogue, generating text, and understanding complex user queries. This article … Read more

ChatGTP tips and examples Improve your experience

Here are 25 top tips for using ChatGPT effectively, designed to enhance your experience and ensure you get the most out of your interactions with the AI: By following these tips, you can improve your interactions with ChatGPT, making the experience more efficient, enjoyable, and tailored to your needs

100 Plus Google Apps Script Exercises Code Examples PDF guide more than 130 pages FREE

100+ Exercises  Google Apps Script Exercises Explore what you can do with Google Apps Script in Workspace.   Useful Code examples to get your started with Google Apps Script Log a Custom Message Purpose: Learn how to log a message in Apps Script. function logMessage() { Logger.log(‘Hello, Google Apps Script!’); } Explanation: This script uses the … Read more

How to remove multiple lines that contain text using Google Apps Script Doc clean up

provided code in detail. It consists of two functions: removeMultipleSpecificLines and removeBlankLines. These functions are designed to manipulate the content of a Google Docs document. removeMultipleSpecificLines() Explanation: removeBlankLines() Explanation: This function is similar to the previous one but is specifically designed to remove blank lines (paragraphs with no content) from the document. These two functions … Read more