Hello World!

Hello World!

Hello World! I am Michael Weber

Testing Google Apps Script

Link to the Doc

And many other open source tools

To support education and small businesses

Google Developer

My Google Developer Badges

Created Google Developer Profile 2. AUG. 2021

Completed 25+ Codelabs 17. SEPT. 2021

Protect your app from abuse with App Check 19. OKT. 2021

First Learning Pathway and Quiz badge 17. SEPT. 2021

Web Apps with Firebase 13. OKT. 2021

Display a Scrollable List 19. SEPT. 2021

Create fast and stable apps with Firebase 30. OKT. 2021

Go further with image classification badge 18. SEPT. 2021

Get and display data from the internet 6. NOV. 2021

Introduction to SQL, Room, and Flow 25. NOV. 2021

Effectively engage users with Firebase 18. JAN. 2022

Make your Android app accessible 13. OKT. 2021

Get started with Google Maps Platform – web 13. OKT. 2021

Build, Containerize, and Deploy Spring Boot Apps 19. SEPT. 2021

Get started with mobile text classification badge 19. SEPT. 2021

Boost your web apps with Fugu APIs 6. NOV. 2021

Web Vitals 19. NOV. 2021

Messaging with Firebase 7. JAN. 2022

About me

g.dev/maps

Google Developer

vvv.code.blog

Code For The Future

Google Apps Script

Get it

Start a new project at script.google.com/home

delete the pre-code and copy/paste the code below

/**

 * Creates a Google Doc and sends an email to the current user with a link to the doc.

 */

function createAndSendDocument() {

  try {

    // Create a new Google Doc named ‘Hello, world!’

    const doc = DocumentApp.create(‘Hello, world!’);

    // Access the body of the document, then add a paragraph.

    doc.getBody().appendParagraph(‘This document was created by Michael Weber using Google Apps Script.’);

    // Get the URL of the document.

    const url = doc.getUrl();

    // Get the email address of the active user – that’s you.

    const email = Session.getActiveUser().getEmail();

    // Get the name of the document to use as an email subject line.

    const subject = doc.getName();

    // Append a new string to the “url” variable to use as an email body.

    const body = ‘Link to your doc: ‘ + url;

    // Send yourself an email with a link to the document.

    GmailApp.sendEmail(email, subject, body);

  } catch (err) {

    // TODO (developer) – Handle exception

    Logger.log(‘Failed with error %s’, err.message);

  }

}

Published by vvv.code.blog

Michael Weber - Researcher Founder of vvv.code.blog Artificial Intelligence & Computer science, Google Developer, W3C, Web Development, Web Design, OnlineShop Design, SEO, Apps, WordPress, WooCommerce, GitHub, AMP, HTML, CSS, PHP, JAVASCRIPT, Photography, Design, Content, Video and More. vvv.code.blog Code For The Future

Create your website with WordPress.com
Get started
%d bloggers like this: