Installation of Texst to Speech for use in the calendar: * For Window 10 and 11, Danish and additional English voices can be installed via: "Settings" - "Time & Language" - "Speech" - "Manage voices" - "Add voices". * For Windows 7 and 8 Danish speech and additional English voices require installation of: https://www.microsoft.com/en-us/download/details.aspx?id=27225 (download the largest SpeechPlatformRuntime.msi for 64bit Windows). After that, additional voices can be downloaded at: https://www.microsoft.com/en-us/download/details.aspx?id=27224 These downloads can also be found at: https://gadget.madsenworld.dk/Text-to-Speech. If install.cmd, which is included in the archives at gadget.madsenworld.dk/Text-to-Speech, is used, then the installation will be done automatically, and it is not necessary to run Text-to-Speech-update.cmd (see box). These voices do not work in Internet Explorer - here the calendar will use the original English voice - also for Danish. ---------------------------------------------------------------------- | | | For all Windows versions it is necessary to update the Windows | | Registry database for using the voices with Miscosoft Speech API. | | This can be done with the script Text-to-Speech-update.cmd, which | | is found the calendar's "tools" folder, or in the downloaded PHSM- | | Calendar zip archive. The script must be run as Administrator. | | | ---------------------------------------------------------------------- * Text to Speech can be configured by pressing Win+F12 or Ctrl+Alt+F12 or by Ctrl+Alt+click on either Date or Time at the bottom of the calendar. Here you can choose: * Turn Text to Speech off * Use English and Danish voice (default) * Use preferred and Danish voice * Use preferred voice only If multiple voices are installed for the same language, the preferred voice can be selected by pressing the "Select preferred voice" button: * In Gadget mode or in Internet Explorer with ActiveX enabled, Windows' Text to Speech configuration dialog is opened. If the preferred voice is changed, then F8 must be pressed twice in the calendar, or it must be restarted with F5, for the change to take effect. * In Browser mode, external programs cannot be opened, so instead the command that must be used to open the relevant settings dialog is provided. When the default voice is changed under Windows 10 or 11 via Windows' "Settings", the browser's Web Speech API cannot see the change. This can be fixed by running the script Text-to-Speech-fixDefaultVoice.cmd, which is also found in the calendar's "tools" folder or in the downloaded PHSM-Calendar zip archive. If the preferred voice is changed, it is necessary to close and restart all instances of the browser for the change to take effect. Hovering the mouse over "Select preferred voice" will show the preferred voice and the voice that the calendar will use with the selected setting. The preferred voice can be set to something other than English or Danish if you want the calendar to speak a third language. * With the default setting, the calendar will automatically switch between Danish and English voices when changing language with F8. * Only one preferred voice can be selected at a time. With the default setting, the other of the calendar's two languages will use the first found voice for that language. * If Text to Speech should cause problems, it can be turned off before starting the calendar by setting texttospeech=false at the beginning of PHSM-Dates.txt (or the active .txt file).