Created
March 12, 2016 04:53
-
-
Save TonyRenHK/cbb2b6234cc7031181fd to your computer and use it in GitHub Desktop.
google app script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function myFunction() { | |
showURL("http://www.google.com"); | |
} | |
// | |
function showURL(href){ | |
var app = UiApp.createApplication().setHeight(50).setWidth(200); | |
app.setTitle("Show URL"); | |
var link = app.createAnchor('open ', href).setId("link"); | |
app.add(link); | |
var doc = SpreadsheetApp.getActive(); | |
doc.show(app); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment