回复 10# Batcher
老大 或许是我没弄好 效果不好
1.bat- @Echo off
- for /l %%i in (1,1,8)do Echo %%i
- pause
复制代码- @echo off&echo Set oIE = CreateObject("htmlfile"):With oIE.parentWindow.screen:wsh.echo .width,.height:End With>%temp%\vbs.tmp
- for /f "tokens=1,2 delims= " %%a in ('cscript.exe //e:vbscript //nologo %temp%\vbs.tmp')do set/a w=%%a/2-80,h=%%b-115
- 1.bat | mtee.exe 1.txt
- for /f "delims=," %%i in (1.txt)do taskkill /f /im BeeTextDraw.exe /t&cmd /c start "" "%~dp0BeeTextDraw.exe" /m:"%%i" /x:%w% /y:%h% /fh:30 /t:2222
- pause
复制代码 |