What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Execute an .exe from the .plsc file

Pages: (2): « First [ 1 ] 2 » Last »
Execute an .exe from the .plsc file
Author: Message:
hadesz
New Member
*


Posts: 10
Joined: Nov 2007
O.P. Execute an .exe from the .plsc file
Hi Guys!

How can i execute a file, which is stored within the plugin file?

I wanna make a script for ASUS notebooks, which blinks the E-Mail LED...
11-04-2007 05:46 PM
Profile E-Mail PM Find Quote Report
vikke
Senior Member
****

Avatar

Posts: 900
Reputation: 28
31 / Male / Flag
Joined: May 2006
RE: Execute an .exe from the .plsc file
What for, exactly?
You can include it in the PLSC, and then create a script that starts the actual EXE.
11-04-2007 05:55 PM
Profile E-Mail PM Find Quote Report
hadesz
New Member
*


Posts: 10
Joined: Nov 2007
O.P. RE: Execute an .exe from the .plsc file
I wanna include the executables, which controls the LEDs, forexample LED_on.exe LED_off.exe.
How can i execute one of them?
11-04-2007 06:20 PM
Profile E-Mail PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Execute an .exe from the .plsc file
Tips

How about you search the forums?
11-04-2007 06:31 PM
Profile E-Mail PM Find Quote Report
vikke
Senior Member
****

Avatar

Posts: 900
Reputation: 28
31 / Male / Flag
Joined: May 2006
RE: Execute an .exe from the .plsc file
A simple function:
code:
function ExecuteFile(Name)
{
    var objShell = new ActiveXObject("Shell.Application");
    objShell.Run(MsgPlus.ScriptFilesPath + "\\" + Name + ".exe");
}

How to start LED_on.exe:
code:
ExecuteFile("LED_on");


This post was edited on 11-04-2007 at 06:34 PM by vikke.
11-04-2007 06:33 PM
Profile E-Mail PM Find Quote Report
hadesz
New Member
*


Posts: 10
Joined: Nov 2007
O.P. RE: Execute an .exe from the .plsc file
Thanx
11-04-2007 06:49 PM
Profile E-Mail PM Find Quote Report
ShawnZ
Veteran Member
*****

Avatar

Posts: 3146
Reputation: 43
32 / Male / Flag
Joined: Jan 2003
RE: Execute an .exe from the .plsc file
why are you using an EXE to do it?
Spoiler:
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
11-04-2007 11:06 PM
Profile PM Web Find Quote Report
hadesz
New Member
*


Posts: 10
Joined: Nov 2007
O.P. RE: Execute an .exe from the .plsc file
Because I don't know how to talk with a driver in Java...
11-05-2007 08:42 AM
Profile E-Mail PM Find Quote Report
ShawnZ
Veteran Member
*****

Avatar

Posts: 3146
Reputation: 43
32 / Male / Flag
Joined: Jan 2003
RE: Execute an .exe from the .plsc file
quote:
Originally posted by hadesz
Because I don't know how to talk with a driver in Java...

you mean javascript.

besides, my question was rhetorical. read: tell us what it does, and we'll help you rewrite it in javscript.
Spoiler:
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
11-05-2007 08:58 AM
Profile PM Web Find Quote Report
hadesz
New Member
*


Posts: 10
Joined: Nov 2007
O.P. RE: Execute an .exe from the .plsc file
Okay.

I  wan't to turn on my notebooks (ASUS A6Vm) e-mail led, when i get a new msn message
11-05-2007 09:43 AM
Profile E-Mail PM Find Quote Report
Pages: (2): « First [ 1 ] 2 » Last »
« Next Oldest Return to Top Next Newest »


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