What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » WLM Plus! Bug Reports » Scripts not independant of accounts...

Pages: (2): « First [ 1 ] 2 » Last »
Scripts not independant of accounts...
Author: Message:
Malekith
Junior Member
**


Posts: 30
– / Male / Flag
Joined: Feb 2007
O.P. Scripts not independant of accounts...
I found that if i open multiple instances of MSN, that i have the same scripts on every account i sign into. And if i disable a script on one account, it disables on both.  I want my scripts independent for each account, can i do this?


System details:
Windows Live Messenger Version 8.5
Messenger Plus! Version 4.23.0.276
Windows XP SP2


(sorry if this isn't considered a bug)
10-23-2007 03:28 AM
Profile E-Mail PM Find Quote Report
MattyRid
Veteran Member
*****

Avatar
Red Bull Racing Australia

Posts: 1321
Reputation: 21
– / Male / Flag
Joined: Jan 2006
Status: Away
RE: Scripts not independant of accounts...
it is normal behaviour for this to happen

but it could change in 4.50 but I'm not 100% sure

This post was edited on 10-23-2007 at 03:31 AM by MattyRid.
Red Bull Racing Australia - Triple Eight Race Engineering - Holden
10-23-2007 03:30 AM
Profile PM Find Quote Report
vikke
Senior Member
****

Avatar

Posts: 900
Reputation: 28
31 / Male / Flag
Joined: May 2006
RE: Scripts not independant of accounts...
This would be hard to implement, because all scripts gets enabled before you sign in, therefor it is impossible. If your script is well-coded, it will save all settings for each user.
10-23-2007 05:42 AM
Profile E-Mail PM Find Quote Report
Malekith
Junior Member
**


Posts: 30
– / Male / Flag
Joined: Feb 2007
O.P. RE: Scripts not independant of accounts...
It would not be hard to implement, thats ridiculous. You would just need separate script folder and settings for each user. -_-
10-23-2007 07:07 AM
Profile E-Mail PM Find Quote Report
-dt-
Scripting Contest Winner
*****

Avatar
;o

Posts: 1819
Reputation: 74
35 / Male / Flag
Joined: Mar 2004
RE: Scripts not independant of accounts...
quote:
Originally posted by vikke
This would be hard to implement, because all scripts gets enabled before you sign in, therefor it is impossible. If your script is well-coded, it will save all settings for each user.
Hm not really, it wouldnt be too hard.
Patchou could introduce an option in the scriptInfo.xml called <userLevel> and allow that to be set to global or user. If its global then store it how it currently is but if its set to user then install it into a directory like /scripts/email/scriptname and run it when the user signs in and unload it when that user signs out

and maybe Plus! could even have the option for both levels, and let the user choose when you install the script

This post was edited on 10-23-2007 at 07:55 AM by -dt-.
[Image: dt2.0v2.png]      Happy Birthday, WDZ
10-23-2007 07:54 AM
Profile PM Web Find Quote Report
Malekith
Junior Member
**


Posts: 30
– / Male / Flag
Joined: Feb 2007
O.P. RE: Scripts not independant of accounts...
I'd love to have this in the next version of Plus!. Because when debugging/testing my scripts i want it only running on one of my MSN's, otherwise there conflicting and its annoying. Took me 30mins to realize why my script wasn't working :P
10-23-2007 08:18 AM
Profile E-Mail PM Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
35 / Male / Flag
Joined: Aug 2006
RE: Scripts not independant of accounts...
I noticed this but it's not a major problem. Maybe each script should just find a list of users and save who it should be enabled for...
<Eljay> "Problems encountered: shit blew up" :zippy:
10-23-2007 01:41 PM
Profile PM Find Quote Report
vikke
Senior Member
****

Avatar

Posts: 900
Reputation: 28
31 / Male / Flag
Joined: May 2006
RE: RE: Scripts not independant of accounts...
quote:
Originally posted by -dt-
quote:
Originally posted by vikke
This would be hard to implement, because all scripts gets enabled before you sign in, therefor it is impossible. If your script is well-coded, it will save all settings for each user.
Hm not really, it wouldnt be too hard.
Patchou could introduce an option in the scriptInfo.xml called <userLevel> and allow that to be set to global or user. If its global then store it how it currently is but if its set to user then install it into a directory like /scripts/email/scriptname and run it when the user signs in and unload it when that user signs out

and maybe Plus! could even have the option for both levels, and let the user choose when you install the script

This should work, but it would ruin the simplicity about scripts.

Also, you cannot run 2 scripts at the same time with different settings (if it's not programmed that way, some are).

Edit: It's not ridiculous, you don't seem to know anything about how scripts work. Some scripts may need to run when Messenger starts to apply their features. The best solution I've come up with is to create a new object for Messenger Plus!, called Registry or something.

Something like this:
code:
class Registry:
  function SaveGlobalSetting(Name, Value);
  function LoadGlobal(Name, Default);
  function SaveUserSetting(Name, Value);
  function LoadUserSetting(Name, Default);


This post was edited on 10-23-2007 at 04:33 PM by vikke.
10-23-2007 02:55 PM
Profile E-Mail PM Find Quote Report
markee
Veteran Member
*****

Avatar

Posts: 1621
Reputation: 50
36 / Male / Flag
Joined: Jan 2006
RE: Scripts not independant of accounts...
What about in the registry, istead of using "Enabled" how about the MSN ID.  If the ID doesnt exist then it will be created for that script but set to disabled (zero).By using the MSNID it adds a little security to the system (I know its still a hash with a  small chance of double ups), but we also get to store everything pretty much how it already is and still nice, neat and logical while adding this extra functionality.

This would replace the Enabled key in all scripts and just use this one for simplicity of everything, eliminating any choices being needed to be take by people.  Personally I find global settings annoying and it would probably be better to set up the script to write it either way rather than relyig on plus for this.

This post was edited on 10-23-2007 at 03:28 PM by markee.
[Image: markee.png]
10-23-2007 03:25 PM
Profile PM Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
35 / Male / Flag
Joined: Aug 2006
RE: Scripts not independant of accounts...
Any changes would mean editing all existed scripts wouldn't it?
<Eljay> "Problems encountered: shit blew up" :zippy:
10-23-2007 04:53 PM
Profile 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