/OpenURL

OpenURL Google Script Library is a Library that alows you to open URLs easier in Google Script

Primary LanguageJavaScript

OpenURL Apps Script



Installation

Here is a brief tutorial on how to install. If you are interested in how to use, scroll down.

  1. Go to Google Sheets
  1. Open new Google Script through Extensions
  1. Once in the script, click the plus button above "Libraries"
  1. Paste the following ID and press look up:
1OfVZMcBO1oSSwg1g_J0cra_AtbHtKE4DzkKDyRfOj-VoQdS_k1zAQiXJ
  1. Select a version and apply

How to use

Usage is simple.

To open a url, simply type the following code with your personal url in an apps script to open when run!

function openUrl() {

  OpenURL.openUrl("https://example.com");
  
}

When you run, you will see that your url will open up in a new tab.


Interested in this kind of content?

Check out my profile or share it! (This means a lot to me)

https://github.com/WillDev12