📄 wmp.cmd
字号:
@echo off
setlocal
:: find out what .mp3 files wmplayer.exe has open
handle.exe -p wmplayer.exe | find "mp3" > %temp%\wmp.dat
:: now extract the .mp3 name from wmp.dat
set /a count=0
set test=
:start
set /a count+=1
for /f "tokens=%count% delims=\" %%g in (%temp%\wmp.dat) do (
set file=%%g
)
if "%test%"=="%file%" goto EOF
set test=%file%
goto start
:EOF
Echo WMPlayer v10.00.00.3473 : %file%
::copy this string to clipboard so you can paste it in the ymlite window--best i can do right now, next stop is AutoIT or sendkeys in VBscript,
::needs clip.exe from XP/2003 Resource Kit, present on 2003 by default.
Echo WMPlayer v10.00.00.3473 : %file% | clip.exe
endlocal
del /f %temp%\wmp.dat
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -