What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Starting an application

Starting an application
Author: Message:
tobias
New Member
*


Posts: 5
Joined: Jan 2007
O.P. RE: Starting an application
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.

This post was edited on 01-07-2007 at 02:10 PM by tobias.
01-07-2007 01:52 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Starting an application - by tobias on 01-07-2007 at 05:21 AM
RE: Starting an application - by Ash_ on 01-07-2007 at 07:14 AM
RE: Starting an application - by matty on 01-07-2007 at 07:15 AM
RE: Starting an application - by tobias on 01-07-2007 at 01:52 PM
RE: RE: Starting an application - by CookieRevised on 01-08-2007 at 08:09 AM
RE: Starting an application - by hmaster on 01-07-2007 at 02:38 PM
RE: Starting an application - by tobias on 01-07-2007 at 03:32 PM
RE: Starting an application - by foaly on 01-07-2007 at 03:34 PM
RE: Starting an application - by hmaster on 01-07-2007 at 03:41 PM
RE: Starting an application - by Eljay on 01-07-2007 at 03:52 PM
RE: Starting an application - by hmaster on 01-07-2007 at 03:55 PM
RE: Starting an application - by deAd on 01-07-2007 at 03:57 PM
RE: Starting an application - by hmaster on 01-07-2007 at 04:03 PM
RE: RE: Starting an application - by deAd on 01-07-2007 at 04:07 PM
RE: Starting an application - by tobias on 01-08-2007 at 01:32 AM
RE: Starting an application - by tobias on 01-08-2007 at 04:46 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On