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

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文件 。当然也可以复制之后直接执行命令 , 都是一样的效果 。
01= "HKLM:SOFTWAREMicrosoftSpeech_OneCoreVoicesTokensMSTTS_V110_zhCN_HongyuM"02= "HKLM:SOFTWAREMicrosoftSpeech_OneCoreVoicesTokensMSTTS_V110_zhCN_HongyuMAttributes"03= "HKLM:SOFTWAREMicrosoftSpeechVoicesTokensMSTTS_V110_zhCN_HongyuM"04= "HKLM:SOFTWAREMicrosoftSpeechVoicesTokensMSTTS_V110_zhCN_HongyuMAttributes"05New-Item -Path ,,,06New-ItemProperty -Path , -Name "(default)" -PropertyType string -Value "Microsoft Hongyu Mobile - Chinese (Simplified, PRC)"07New-ItemProperty -Path , -Name LangDataPath -PropertyType string -Value "%windir%Speech_OneCoreEnginesTTSzh-CNMSTTSLoczhCN.dat"08New-ItemProperty -Path , -Name LangUpdateDataDirectory -PropertyType string -Value "%SystemDrive趖aSharedDataSpeech_OneCoreEnginesTTSzh-CN"09New-ItemProperty -Path , -Name VoicePath -PropertyType string -Value "%windir%Speech_OneCoreEnginesTTSzh-CNM2052Hongyu"10New-ItemProperty -Path , -Name VoiceUpdateDataDirectory -PropertyType string -Value "%SystemDrive趖aSharedDataSpeech_OneCoreEnginesTTSzh-CN"11New-ItemProperty -Path , -Name 804 -PropertyType string -Value "Microsoft Hongyu Mobile - Chinese (Simplified, PRC)"12New-ItemProperty -Path , -Name CLSID -PropertyType string -Value "{179F3D56-1B0B-42B2-A962-59B7EF59FE1B}"13New-ItemProperty -Path , -Name Version -PropertyType string -Value "11.0"14New-ItemProperty -Path , -Name Language -PropertyType string -Value "804"15New-ItemProperty -Path , -Name Gender -PropertyType string -Value "Female"16New-ItemProperty -Path , -Name Age -PropertyType string -Value "Adult"17New-ItemProperty -Path , -Name DataVersion -PropertyType string -Value "11.0.2013.1022"18New-ItemProperty -Path , -Name SharedPronunciation -PropertyType string -Value ""19New-ItemProperty -Path , -Name Name -PropertyType string -Value "Microsoft Hongyu Mobile"20New-ItemProperty -Path , -Name Vendor -PropertyType string -Value "Microsoft"21New-ItemProperty -Path , -Name PersonalAssistant -PropertyType string -Value "1"复制代码= "HKLM:SOFTWAREMicrosoftSpeech_OneCoreVoicesTokensMSTTS_V110_zhCN_HongyuM"= "HKLM:SOFTWAREMicrosoftSpeech_OneCoreVoicesTokensMSTTS_V110_zhCN_HongyuMAttributes"= "HKLM:SOFTWAREMicrosoftSpeechVoicesTokensMSTTS_V110_zhCN_HongyuM"= "HKLM:SOFTWAREMicrosoftSpeechVoicesTokensMSTTS_V110_zhCN_HongyuMAttributes"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_OneCoreEnginesTTSzh-CNMSTTSLoczhCN.dat"New-ItemProperty -Path , -Name LangUpdateDataDirectory -PropertyType string -Value "%SystemDrive趖aSharedDataSpeech_OneCoreEnginesTTSzh-CN"New-ItemProperty -Path , -Name VoicePath -PropertyType string -Value "%windir%Speech_OneCoreEnginesTTSzh-CNM2052Hongyu"New-ItemProperty -Path , -Name VoiceUpdateDataDirectory -PropertyType string -Value "%SystemDrive趖aSharedDataSpeech_OneCoreEnginesTTSzh-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"2、接下来打开“控制面板” , 找到“语音识别” , 点击左侧窗口中的“文本到语音转换” , 在“语音选择”框中选择“Microsoft Hongyu Mobile - Chinese (Simplified , PRC)” , 然后单击确定按钮 , 你就可以让微软小娜为你阅读文本了 。阅读文本内容可以使用带有文本阅读功能的文本编辑器 , 或者使用专门的小说阅读器 , 大家自己选一个自己喜欢的就行了 。

推荐阅读