请教一个问题
前2天开始rr了,看了论坛里用脚本启动游戏的方法,开始照做,方便是挺方便,可是有个问题,用脚本启动的窗口里的字体和直接双击d2loader进去的字体不一样,怎么回事呢
下面是脚本内容
@echo off
>>%tmp%\D2LOG.vbs echo dim program
>>%tmp%\D2LOG.vbs echo program="E:\game\D2\D2Loader-1.11b.exe -w -nohide -direct -pdir E:\game\D2\map-chinese -skiptobnet -title bb1"
>>%tmp%\D2LOG.vbs echo set Wshell=CreateObject("Wscript.Shell")
>>%tmp%\D2LOG.vbs echo set oexec=Wshell.Exec(program)
>>%tmp%\D2LOG.vbs echo wscript.Sleep 6000
>>%tmp%\D2LOG.vbs echo Wshell.SendKeys "mypassword"
>>%tmp%\D2LOG.vbs echo wscript.Sleep 200
>>%tmp%\D2LOG.vbs echo Wshell.SendKeys "{TAB}"
>>%tmp%\D2LOG.vbs echo wscript.Sleep 200
>>%tmp%\D2LOG.vbs echo Wshell.SendKeys "myid"
>>%tmp%\D2LOG.vbs echo wscript.Sleep 200
>>%tmp%\D2LOG.vbs echo Wshell.SendKeys "{ENTER}"
%tmp%\D2LOG.vbs
del %tmp%\D2LOG.vbs