This methode is Obsolete
How to acces directely and open a drive document by menu URL or ID ?
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();
}