魔法系统之家下载 - 系统之家,XP系统之家,GhostXP系统,纯净版XP系统,Windows7下载之家

当前位置:首页 > 系统教程 > Win10教程 > 详细页面

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

时间:2017-08-17 20:26:03来源:魔法系统之家下载作者:chunhua

  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"

网站模版

分享到:

相关信息

  • Win10系统internet explorer无法显示该网页怎么办?

    在平时工作之余,我们偶尔会使用ie浏览器来看视频或者浏览新闻,可是有不少用户反映说打开ie然后进入某些网页时会提示出internet explorer无法显示该网页,那么当你遇到Win10系统internet explorer无法显示该网页怎么办?不...

    2019-01-21

  • Windows10 PowerShell快捷键大全

    从Windows10创意者更新开始,PowerShell正式替代了命令提示符CMD,相信很多用户还不够习惯吧?为了大家更快的上手,小编给大家整了Windows10 PowerShell快捷键大全,详看下文。...

    2019-01-21

系统教程栏目

栏目热门教程

人气教程排行

站长推荐

热门系统下载