Thank you. Now to get to work!
EDIT: Not working, from what I can see.
function _start_app(_path){
new ActiveXObject('WScript.Shell').run(_path);
}
function OnEvent_ChatWndSendMessage(ChatWind,Message)
{
(There are some if statements and things here)
if(Message=="!photoshop"){
MsgPlus.DisplayToast("Photoshop", aMessage);
_start_app("c:\\Program Files\\Adobe\\Photoshop CS\\Photoshop.exe");
}
}
And it shows the taost, but doesn't launch the program, and most of the time it doesn't show up in the chat window if it starts with !, but this time it does.
P.S. I know you don't like people using ! commands, but I can't figure out how to get my commands on the / list.