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:
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Starting an application
quote:
Originally posted by tobias
How would you start an application not in the default windows directory, like iTunes, XFire, FireFox, etc.?
code:
function _start_app(_path){
    new ActiveXObject('WScript.Shell').run(_path);
}

Usage:
code:
_start_app('C:\\Program Files\\iTunes\\iTunes.exe');
01-07-2007 07:15 AM
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