Autohotkey示例:
Gui Add, ActiveX, xm w700 h100 vwmp, {6BF52A52-394A-11D3-B153-00C04F79FAA6} Gui Show ;wmp.Settings.AutoStart := 0 wmp.Settings.Volume := 100 wmp.Url := "D:\我的文档\My Music\brave.mp3"
AAuto示例:
import win.ui; import fsys.dlg; /*DSG{{*/ var winform = ..win.form(text="AAuto Form";right=322;bottom=157) winform.add( static={cls="static";left=5;top=5;right=314;bottom=153;db=1;dl=1;dr=1;dt=1;edge=1;transparent=1;z=1} ) /*}}*/ //创建控件 var wmplay = winform.static.createEmbed("{6BF52A52-394A-11d3-B153-00C04F79FAA6}"); var filepath=fsys.dlg.open("mp3音乐|*.mp3","打开"); wmplay._object.Url = filepath; winform.show() win.loopMessage();
60 queries in 2.201 seconds |