I need to have a note created with Google Apps Script in a presentation on slide 0 where it is having a hyperlink, which I grab off a Google Sheet, attached to it. It needs to be a note not a text or image in a slide. Reason being, that URL's are only "clickable" in a slide if the presentation is put into presentation mode first.
If I do it manually, I can create a notes text, select it and attach a hyperlink. The text changes to a regular hyperlink appearance, which one can click without first of all going to presentation mode.
This is how far I came for now:
slides[0].getNotesPage().getSpeakerNotesShape().getText().setText("juhu");
But how to add the hyperlink, in this example to the string "juhu"?
If I am trying to get it done with: .setLinkUrl()
it tells me:
Exception: The operation is not allowed on notes page element (g7185420b90_2_454). (line 19, file "Code")
Any ideas?