GHOST系统之家 - Windows系统光盘下载网站!
当前位置:GHOST系统之家>系统教程 > Win10使用PowerShelll让Cortana朗读小说的设置技巧

Win10使用PowerShelll让Cortana朗读小说的设置技巧

来源:Ghost系统之家浏览:时间:2022-04-26 12:55:04
Windows 10是美国微软公司研发的跨平台及设备应用的操作系统。是微软发布的最后一个独立Windows版本。Windows 10共有7个发行版本,分别面向不同用户和设备。2014年10月1日,微软在旧金山召开新品发布会,对外展示了新一代Windows操作系统,将它命名为“Windows 10”,新系统的名称跳过了这个数字“9”。截止至2018年3月7日,Windows 10正式版已更新至秋季创意者10.0.16299.309版本,预览版已更新至春季创意者10.0.17120版本

  Win10如何使用PowerShelll让Cortana朗读小说?Cortana是Win10系统的人工智能助手,可以帮忙处理一些基本任务,比如日程安排、回答问题等,其实Cortana还有更为强大的功能,比如让Cortana为我们朗读小说,这才不浪费Cortana甜美的声音嘛!下面给大家介绍Win10使用PowerShelll让Cortana朗读小说的操作技巧。

Win10使用PowerShelll让Cortana朗读小说的操作技巧

图1:Cortana

Win10使用PowerShelll让Cortana朗读小说的操作技巧

图2:来至微软小娜的问候

  Win10如何使用PowerShelll让Cortana朗读小说?

  1、把下面的代码复制为.ps1文件保存好,打开PowerShell(管理员),把执行.ps1文件。当然也可以复制之后直接执行命令,都是一样的效果。

  1. 01= "HKLM:\SOFTWARE\Microsoft\Speech_OneCore\Voices\Tokens\MSTTS_V110_zhCN_HongyuM"
  2. 02= "HKLM:\SOFTWARE\Microsoft\Speech_OneCore\Voices\Tokens\MSTTS_V110_zhCN_HongyuM\Attributes"
  3. 03= "HKLM:\SOFTWARE\Microsoft\Speech\Voices\Tokens\MSTTS_V110_zhCN_HongyuM"
  4. 04= "HKLM:\SOFTWARE\Microsoft\Speech\Voices\Tokens\MSTTS_V110_zhCN_HongyuM\Attributes"
  5. 05New-Item -Path ,,,
  6. 06New-ItemProperty -Path , -Name "(default)" -PropertyType string -Value "Microsoft Hongyu Mobile - Chinese (Simplified, PRC)"
  7. 07New-ItemProperty -Path , -Name LangDataPath -PropertyType string -Value "%windir%\\Speech_OneCore\\Engines\\TTS\\zh-CN\\MSTTSLoczhCN.dat"
  8. 08New-ItemProperty -Path , -Name LangUpdateDataDirectory -PropertyType string -Value "%SystemDrive%\\Data\\SharedData\\Speech_OneCore\\Engines\\TTS\\zh-CN"
  9. 09New-ItemProperty -Path , -Name VoicePath -PropertyType string -Value "%windir%\\Speech_OneCore\\Engines\\TTS\\zh-CN\\M2052Hongyu"
  10. 10New-ItemProperty -Path , -Name VoiceUpdateDataDirectory -PropertyType string -Value "%SystemDrive%\\Data\\SharedData\\Speech_OneCore\\Engines\\TTS\\zh-CN"
  11. 11New-ItemProperty -Path , -Name 804 -PropertyType string -Value "Microsoft Hongyu Mobile - Chinese (Simplified, PRC)"
  12. 12New-ItemProperty -Path , -Name CLSID -PropertyType string -Value "{179F3D56-1B0B-42B2-A962-59B7EF59FE1B}"
  13. 13New-ItemProperty -Path , -Name Version -PropertyType string -Value "11.0"
  14. 14New-ItemProperty -Path , -Name Language -PropertyType string -Value "804"
  15. 15New-ItemProperty -Path , -Name Gender -PropertyType string -Value "Female"
  16. 16New-ItemProperty -Path , -Name Age -PropertyType string -Value "Adult"
  17. 17New-ItemProperty -Path , -Name DataVersion -PropertyType string -Value "11.0.2013.1022"
  18. 18New-ItemProperty -Path , -Name SharedPronunciation -PropertyType string -Value ""
  19. 19New-ItemProperty -Path , -Name Name -PropertyType string -Value "Microsoft Hongyu Mobile"
  20. 20New-ItemProperty -Path , -Name Vendor -PropertyType string -Value "Microsoft"
  21. 21New-ItemProperty -Path , -Name PersonalAssistant -PropertyType string -Value "1"
复制代码

= "HKLM:\SOFTWARE\Microsoft\Speech_OneCore\Voices\Tokens\MSTTS_V110_zhCN_HongyuM"= "HKLM:\SOFTWARE\Microsoft\Speech_OneCore\Voices\Tokens\MSTTS_V110_zhCN_HongyuM\Attributes"= "HKLM:\SOFTWARE\Microsoft\Speech\Voices\Tokens\MSTTS_V110_zhCN_HongyuM"= "HKLM:\SOFTWARE\Microsoft\Speech\Voices\Tokens\MSTTS_V110_zhCN_HongyuM\Attributes"New-Item -Path ,,,New-ItemProperty -Path , -Name "(default)" -PropertyType string -Value "Microsoft Hongyu Mobile - Chinese (Simplified, PRC)"New-ItemProperty -Path , -Name LangDataPath -PropertyType string -Value "%windir%\\Speech_OneCore\\Engines\\TTS\\zh-CN\\MSTTSLoczhCN.dat"New-ItemProperty -Path , -Name LangUpdateDataDirectory -PropertyType string -Value "%SystemDrive%\\Data\\SharedData\\Speech_OneCore\\Engines\\TTS\\zh-CN"New-ItemProperty -Path , -Name VoicePath -PropertyType string -Value "%windir%\\Speech_OneCore\\Engines\\TTS\\zh-CN\\M2052Hongyu"New-ItemProperty -Path , -Name VoiceUpdateDataDirectory -PropertyType string -Value "%SystemDrive%\\Data\\SharedData\\Speech_OneCore\\Engines\\TTS\\zh-CN"New-ItemProperty -Path , -Name 804 -PropertyType string -Value "Microsoft Hongyu Mobile - Chinese (Simplified, PRC)"New-ItemProperty -Path , -Name CLSID -PropertyType string -Value "{179F3D56-1B0B-42B2-A962-59B7EF59FE1B}"New-ItemProperty -Path , -Name Version -PropertyType string -Value "11.0"New-ItemProperty -Path , -Name Language -PropertyType string -Value "804"New-ItemProperty -Path , -Name Gender -PropertyType string -Value "Female"New-ItemProperty -Path , -Name Age -PropertyType string -Value "Adult"New-ItemProperty -Path , -Name DataVersion -PropertyType string -Value "11.0.2013.1022"New-ItemProperty -Path , -Name SharedPronunciation -PropertyType string -Value ""New-ItemProperty -Path , -Name Name -PropertyType string -Value "Microsoft Hongyu Mobile"New-ItemProperty -Path , -Name Vendor -PropertyType string -Value "Microsoft"New-ItemProperty -Path , -Name PersonalAssistant -PropertyType string -Value "1"

网站模版


Windows 10系统成为了智能手机、PC、平板、Xbox One、物联网和其他各种办公设备的心脏,使设备之间提供无缝的操作体验。