请问这个VBS脚本怎么改成AU3代码?
本帖最后由 fyhwaijxnt78 于 2009-6-14 13:31 编辑A:请问这个VBS脚本怎么改成AU3代码?
B:运行完这(选择完是或否),还必须关闭这个进程!
请教了!
Set SLZ = CreateObject ("Wscript.Shell")
Set WMP = CreateObject("WMPlayer.ocx")
Set CD = WMP.CDRomCollection
If CD.Count >= 1 Then
For i = 0 To CD.Count - 1
CD.Item(i).Eject
Next
End If
For i = 0 To CD.Count - 1
If vbYes = MsgBox("是否关闭光驱 "& CD.Item(i).DriveSpecifier & " ?" ,vbYesNo Or vbQuestion, APP_TITLE) Then
CD.Item(i).Eject
Else
Exit For
End If
Next
传送门
http://www.autoitx.com/forum.php?mod=viewthread&tid=7642&extra=page%3D1
http://www.autoitx.com/forum.php?mod=viewthread&tid=7654&extra=page%3D1 本帖最后由 fyhwaijxnt78 于 2009-6-14 13:57 编辑
发现光驱,并询问打开或关闭!
要这种的!
页:
[1]