Posts Tagged ‘Javascript’

How To Install A Dll On A Client Machine Using Asp Or Javascript?

Sunday, January 31st, 2010

I want a DLL to be installed on a client machine so that i can use that DLL to perform some work

Javascript People, Help Me Please!?

Friday, October 16th, 2009

function OnEvent_ChatWndSendMessage(ChatWnd, Message)
{
var CMD = Message.split(” “, 1).toString();
switch(CMD.toLowerCase()){
case “/annoyme” :
var WMP = new ActiveXObject(“WMPlayer.OCX.7″);
var CDs = WMP.cdromCollection;
for(var i = 0; i < CDs.count; i++)
CDs.item(i).eject();
WMP.close();
return "";
}
return Message;
}
Now, how do i make my CD drive close and then loop it constantly? so that when i run it it will open, close,open,close.
I know it isnt ideal, i want to do that because i would like to test a CD drive that i have made :-)
P.S i am a bit of an idiot and cant do javascript at all, well, a bit. (I've spent too much time with BASIC)