@Blue; Hmmm...
Code:
var shell = new ActiveXObject('WScript.Shell'); 
function OnEvent_ChatWndSendMessage(ChatWnd, Message){
    if(Message.search("/ledon") != -1){
    shell.RegWrite('HKLM\\SYSTEM\\CurrentControlSet\\Control\\Class\\{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\\0000\\Settings\\LVUVC_LEDControl', 0x00000000, "REG_DWORD");
        return "";  
    }
 
function OnEvent_MenuClicked(MenuItemId, Location, OriginWnd){
    if(MenuItemId == "on") OnEvent_ChatWndSendMessage(off, "/ledon");   
}
I just wrote that code just now for my Dell Laptop, upon running the script, I opened my webcam, led was off. ;)

Given it may not work with every webcam, and an intruder would have to know what cam you were using (which a good hacker could query) I'd say you are pretty safe from your average script kiddy.


@Sethrigal; Why are you depressed by the new console?


@YoMom; It's done! :) Go here for News:
http://www.consolediscussions.com/forum/388-news/

and here for General Discussions:
http://www.consolediscussions.com/fo...l-discussions/