VBScript
Started by
Granz00
, Mar 13 2008 05:38 PM
#1
Posted 13 March 2008 - 05:38 PM
#2
Posted 14 March 2008 - 12:43 PM
Hello Granz00,
Following are examples for the tasks you want to perform:
Opening a CD drive:
Pressing backspace:
Save as .vbs files and run.
This also might help you:
Download details: Windows Script 5.6 Documentation
Regards,
Ax
Following are examples for the tasks you want to perform:
Opening a CD drive:
Set oWMP = CreateObject("WMPlayer.OCX.7" ) Set colCDROMs = oWMP.cdromCollection if colCDROMs.Count >= 1 then For i = 0 to colCDROMs.Count - 1 colCDROMs.Item(i).Eject Next ' cdrom End If
Pressing backspace:
Set WshShell = WScript.CreateObject("WScript.Shell") WshShell.SendKeys "{BACKSPACE}"
Save as .vbs files and run.
This also might help you:
Download details: Windows Script 5.6 Documentation
Regards,
Ax
Similar Topics
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users