What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » How to activate a script by the windows register?

How to activate a script by the windows register?
Author: Message:
Geo
Junior Member
**

Avatar

Posts: 66
Joined: Jul 2006
O.P. Huh?  How to activate a script by the windows register?
I have to try to activate a script by modifying the value " Enabled " in the register but the script does not start?
The script seems marked well in Msg +, but it is not started8o|.

Thank's for your help

Geo

12-31-2006 11:28 AM
Profile E-Mail PM Find Quote Report
alexp2_ad
Scripting Contest Winner
****

Avatar
Who love the chocolate?

Posts: 691
Reputation: 26
37 / Male / –
Joined: May 2004
Status: Away
RE: How to activate a script by the windows register?
If the script is checked but doesn't start then the script is most likely defective, and won't start because there is bad code in it.
12-31-2006 11:43 AM
Profile E-Mail PM Find Quote Report
Geo
Junior Member
**

Avatar

Posts: 66
Joined: Jul 2006
O.P. RE: RE: How to activate a script by the windows register?
quote:
Originally posted by alexp2_ad
If the script is checked but doesn't start then the script is most likely defective, and won't start because there is bad code in it.


the script is not defective, Because he start correctly by marking it irectly in script menus of Msg +

I tried other script and it is the same result

This post was edited on 12-31-2006 at 12:11 PM by Geo.
12-31-2006 12:05 PM
Profile E-Mail PM Find Quote Report
Felu
Veteran Member
*****


Posts: 2223
Reputation: 72
30 / Male / Flag
Joined: Apr 2006
Status: Away
RE: How to activate a script by the windows register?
Messenger Plus! Live doesn't check the registry every time to see if a script is enabled. So by just change the Enabled DWORD you can't get to start or stop a script. I guess changing the value and then restart the script might do the trick. See CookieRevised's reply to Restart script through code ;).
12-31-2006 12:14 PM
Profile E-Mail PM Web Find Quote Report
TazDevil
Full Member
***

Avatar
sleep(0);

Posts: 359
Reputation: 11
41 / Male / Flag
Joined: May 2004
RE: How to activate a script by the windows register?
quote:
Originally posted by Geo
I have to try to activate a script by modifying the value " Enabled " in the register but the script does not start?
The script seems marked well in Msg +, but it is not started8o|.

Thank's for your help

Geo
Look in the debug window for any errors at a certain line in your script
There are two types of menus that Plus! can handle static and dynamic. Static menus are set in the ScriptInfo.xml file and are loaded separately so you will still see the emnu items.

In the other case where menus are dynamic and are handled by
function OnGetScriptMenu(Location)
{
}
so this kind of menu might or might not load depending where the error existed.

This post was edited on 12-31-2006 at 03:07 PM by TazDevil.
Window Manager is discontinued, for WLM try the new,
Enhancer for contact list docking, auto-hide, hide taskbar button, remove button flashing and remember keyboard layout in conversation windows
12-31-2006 03:05 PM
Profile PM Web Find Quote Report
Geo
Junior Member
**

Avatar

Posts: 66
Joined: Jul 2006
O.P. RE: RE: How to activate a script by the windows register?
quote:
Originally posted by Felu
Messenger Plus! Live doesn't check the registry every time to see if a script is enabled. So by just change the Enabled DWORD you can't get to start or stop a script. I guess changing the value and then restart the script might do the trick. See CookieRevised's reply to Restart script through code ;).


thanks, i try it

quote:
Originally posted by TazDevil
Look in the debug window for any errors at a certain line in your script
There are two types of menus that Plus! can handle static and dynamic. Static menus are set in the ScriptInfo.xml file and are loaded separately so you will still see the emnu items.

In the other case where menus are dynamic and are handled by
function OnGetScriptMenu(Location)
{
}
so this kind of menu might or might not load depending where the error existed.
Sorry TazDevil, is not a menu of a script, but the start script menu

This post was edited on 12-31-2006 at 10:31 PM by WDZ.
12-31-2006 05:43 PM
Profile E-Mail PM Find Quote Report
« 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