matty
Scripting Guru
Posts: 8336 Reputation: 109
39 / /
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');
|
|