The simplest way to open a new window to show an HTML like this -
Arun Nagarajan said on this post https://stackoverflow.com/posts/13272748/edit
-<a href='http://www.google.com' target='_blank'>Open in new window</a>-
I want to open a Link in my google document (no spreadsheet)
directely by menu or
by function !!
How to arrive with my script ?
function onOpen() {
// Add a menu with some items, some separators, and a sub-menu.
DocumentApp.getUi().createMenu('OAR')
.addItem('MAJ Date + OAR', 'test')
.addItem('MAJ Date Auto', 'testdate')
***.addItem('Accès Direct URL', 'href=/d/1udvLSpaZNgalg6NId JMJvkkw3i9oCaEKa-A_CAC79CYkvsZKD545dyZN/edit?')***
.addToUi();
}