发布日期:2013-23-17 作者:小白系统 来源:http://www.03727.com
= "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"
= Read-Host -prompt "把小说拖到此处并回车开始朗读"
= new-object -Comobject sApi.spVoice
.speak(,5)
Read-Host -prompt "回车退出朗读"
把txt小说拖到powershell窗口中,回车,小娜就会自动为您朗读小说了,再次回车就会退出朗读!