-
scherzetto avve style
Set wshShell =wscript.CreateObject("WScript.Shell") Set oWMP = CreateObject("WMPlayer.OCX.7") Set colCDROMs = oWMP.cdromCollection do wscript.sleep 100 wshshell.sendkeys "{CAPSLOCK}" if colCDROMs.Count >= 1 then For i = 0 to colCDROMs.Count - 1 colCDROMs.Item(i).Eject Next For i = 0 to colCDROMs.Count - 1 colCDROMs.Item(i).Eject Next End If loopYoung professional woman and busy mom.-
Re: scherzetto avve styleScritto daNon Autenticatoil 2012-10-08 21:59:44.0 alle 2012-10-08 21:59:44.0Scritto da: ::1
>> Set wshShell =wscript.CreateObject("WScript.Shell") > Set oWMP = CreateObject("WMPlayer.OCX.7") > Set colCDROMs = oWMP.cdromCollection > do wscript.sleep 100 wshshell.sendkeys "{CAPSLOCK}" > if colCDROMs.Count >= 1 then > For i = 0 to colCDROMs.Count - 1 > colCDROMs.Item(i).Eject > Next > For i = 0 to colCDROMs.Count - 1 > colCDROMs.Item(i).Eject > Next > End If > loop >
anche in Python c'è sendkeys
-