1) Why won't this work?
code:
function OnEvent_ChatWndSendMessage(ChatWnd,Message){
if(Message=="notepad")
{
var shell = new ActiveXObject("wscript.shell");
shell.Run("notepad.exe");
return ""
}
}
2) How can i open notepad with some text already on it?