Hi,
This clue is it does not work for you because you have not followed the answer but instead made up some code that does not reflect the answer above!!!
document.title = hypeDocument.currentSceneName(); // to use the scene name as a title.
document.title = "A Name or a String"; // This is to manually set it.
document.title = hypeDocument.documentName(); // if you want to use the name that the document is saved as
The methods in the Hype API only return the document name or scene name. Your code above is incorrect. You cannot set anything using that method.
Les méthodes de l’API Hype ne renvoient que le nom du document ou le nom de la scène. Votre code ci-dessus est incorrect. Vous ne pouvez pas ** configurer ** n’importe quoi en utilisant cette méthode.