首页 > 代码库 > AHK 提前加载声音

AHK 提前加载声音

ahk 预加载声音:

path = "C:\Windows\Media\Windows Recycle.wav"
command := "open " path " alias AHK_PlayMe"
DllCall("Winmm\mciSendString","str",command,"ptr",0,"uint",0,"uint",0)

其实就是调用 API