百度首页 | 百度空间
 
查看文章
 
读英文的脚本
2007年10月28日 星期日 下午 01:33

CreateObject("SAPI.SpVoice").Speak CreateObject("Scripting.FileSystemObject").OpenTextFile(WScript.Arguments(0)).ReadAll
这个脚本保存为.vbs文件,把英文txt拖放到上面,就读出来了,真有意思

js版本
new ActiveXObject("SAPI.SpVoice").Speak(new ActiveXObject("Scripting.FileSystemObject").opentextFile(WScript.arguments(0)).readall());

一样保存为.js文件


类别:电脑使用技巧 | 添加到搜藏 | 浏览() | 评论 (0)
 
最近读者:
 
网友评论:
发表评论:
姓 名:
网址或邮箱: (选填)
内 容:
验证码:
 

     

©2008 Baidu