开机后让妲己给你加油打气

1、新建一个文本文件.txt

格式编码为ANSI进行编码,utf-8会乱码

Set sp = CreateObject("SAPI.SpVoice")
sp.rate=4
sp.volume =100
For i=1 to 100
Wscript.CreateObject("Wscript.Shell").Sendkeys "怜"
Next
sp.speak"这里是玉树临风胜潘安,一朵梨花压海棠,人送绰号上天下地无所不能玉面小飞龙,英俊与智慧的化身,侠义与仁义的糅合,前辈高人的领地"
sp.rate=0.1
sp.volume =100
sp.speak"妲己何在?"

set ws=createobject("wscript.shell")

ws.run "wmplayer.exe C:\Users\yyd\开机语音\daji.mp3" ,0

注:
设置音量的代码如下

For i=1 to 100
Wscript.CreateObject("Wscript.Shell").Sendkeys "怜"
Next

前台运行daji.mp3的播放

ws.run "wmplayer.exe C:\Users\yyd\开机语音\daji.mp3" ,1

后后运行daji.mp3的播放

ws.run "wmplayer.exe C:\Users\yyd\开机语音\daji.mp3" ,0

另存为开机语音.VBS,记住是大写哦

在这里插入图片描述

手动放置到startup文件夹下

C:\Users\yyd\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

或者win+R输入:shell:startup 打开该文件夹

妲己的声音在这里

声音下载

最后,每次开机你都能听到妲己酥麻的声音啦,瞬间热血沸腾

猜你喜欢

转载自blog.csdn.net/MMTS_yang/article/details/107064498