What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Load / Unload Script (when WLM is running or not) - Script Installer

Load / Unload Script (when WLM is running or not) - Script Installer
Author: Message:
sbegouin
Junior Member
**


Posts: 25
Joined: Sep 2005
O.P. Undecided  Load / Unload Script (when WLM is running or not) - Script Installer
Is there a way to load / unload a script from another application, without having the confirmation box when loading a *.plsc file ?

With the plugins, I used (Delphi code) :
code:
          hPluginChange := RegisterWindowMessage('MessengerPlus_PluginChange');
          PostMessage(HWND_BROADCAST, hPluginChange, 0, 0);
But what can I do for scripts ?

This post was edited on 07-04-2006 at 08:04 PM by sbegouin.
07-03-2006 06:49 AM
Profile E-Mail PM Find Quote Report
Mnjul
forum super mod
******

Avatar
plz wub me

Posts: 5396
Reputation: 58
– / Other / Flag
Joined: Nov 2002
Status: Away
RE: Load / Unload Script
There is no way to do so I'm afraid...:)


Well, you could simulate mouse/keyboard events to "fake open" Plus! Preferences and its Scripts section, and "fake click" the checkbox, but I guess that's a little bit troublesome and not very reliable.
07-03-2006 10:39 AM
Profile PM Web Find Quote Report
segosa
Community's Choice
*****


Posts: 1407
Reputation: 92
Joined: Feb 2003
RE: Load / Unload Script
Make a 'fake edit' to one of the script files (e.g., add a space to the end, remove it, save) or something like that.

Bit of a crappy and unreliable way though.
The previous sentence is false. The following sentence is true.
07-03-2006 10:59 AM
Profile PM Find Quote Report
sbegouin
Junior Member
**


Posts: 25
Joined: Sep 2005
O.P. RE: Load / Unload Script
OK, thanks ! :)

So, there is no way to install Scripts when WLM is not running ?!...
07-04-2006 10:30 AM
Profile E-Mail PM Find Quote Report
alexp2_ad
Scripting Contest Winner
****

Avatar
Who love the chocolate?

Posts: 691
Reputation: 26
36 / Male / –
Joined: May 2004
Status: Away
RE: Load / Unload Script when WLM is not running
You could install / disable scripts when plus isn't running, you just have to add the right registry keys to HKEY_CURRENT_USER\Software\Patchou\Messenger Plus! Live\GlobalSettings\Scripts  and the right files in the script directory.

Or remove them to remove the script.

If WLM isn't running that'll work fine.

This post was edited on 07-04-2006 at 10:38 AM by alexp2_ad.
07-04-2006 10:37 AM
Profile E-Mail PM Find Quote Report
sbegouin
Junior Member
**


Posts: 25
Joined: Sep 2005
O.P. RE: Load / Unload Script (when WLM is running or not)
Thanks ! You're right ! When WLM is not running it's easy.

This post was edited on 07-04-2006 at 08:03 PM by sbegouin.
07-04-2006 10:50 AM
Profile E-Mail PM Find Quote Report
sbegouin
Junior Member
**


Posts: 25
Joined: Sep 2005
O.P. RE: Load / Unload Script (when WLM is running or not)
Is there a clean method to do this when WLM is running :
- for loading a script : without having the confirmation box when loading a *.plsc file ?...
- for unloading a script : without having to do "fake clicks" on the buttons ?
07-04-2006 08:03 PM
Profile E-Mail PM Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Load / Unload Script (when WLM is running or not) - Script Installer
quote:
Originally posted by sbegouin
Is there a clean method to do this when WLM is running :
- for loading a script : without having the confirmation box when loading a *.plsc file ?...
- for unloading a script : without having to do "fake clicks" on the buttons ?
As said in the first reply in this thread: nope....

And actually, I would find it dangerous when scripts can be added without the confirmation box!! That confirmation box is there for a perfect good reason though: to warn people about the possebility of danger when installing a script. Hence why there is also a checkbox to be checked before one could install a script (yes there are ways around the confirmation when WLM isn't running, but still...).

This post was edited on 07-04-2006 at 09:02 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
07-04-2006 08:35 PM
Profile PM Find Quote Report
Choli
Elite Member
*****

Avatar
Choli

Posts: 4714
Reputation: 42
42 / Male / Flag
Joined: Jan 2003
RE: Load / Unload Script (when WLM is running or not) - Script Installer
quote:
Originally posted by segosa
Make a 'fake edit' to one of the script files (e.g., add a space to the end, remove it, save) or something like that.

Bit of a crappy and unreliable way though.
that only works in "debug mode", and Patchou explicitly said not to make scripts that rely on that feature of Plus. It's only purpose is to help developers while they're coding the script.
Messenger Plus! en espaņol:
<< http://www.msgpluslive.es/ >>
<< http://foro.msgpluslive.es/ >>
:plus4:
07-04-2006 09:25 PM
Profile PM Find Quote Report
sbegouin
Junior Member
**


Posts: 25
Joined: Sep 2005
O.P. RE: Load / Unload Script (when WLM is running or not) - Script Installer
OK !

So, there is no clear way to uninstall (from another program) a script when WLM is running... :(

This post was edited on 07-05-2006 at 01:40 PM by sbegouin.
07-05-2006 01:38 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