Messenger.MyName in WLM 2011 - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4) +---- Forum: Scripting (/forumdisplay.php?fid=39) +----- Thread: Messenger.MyName in WLM 2011 (/showthread.php?tid=96278) Messenger.MyName in WLM 2011 by SmokingCookie on 01-07-2011 at 03:07 PM Obviously, we can no longer change our display names in WLM 2011. So I'm wondering how this property is/will be implemented in Plus! 5... Will it be a read-only property? If so, in all versions of WLM, or only for versions >= 2011? RE: Messenger.MyName in WLM 2011 by Spunky on 01-07-2011 at 03:51 PM
I'd imagine they'd want to preserve backwards compatibility (assuming the scripting engine is the same). The script would need to check for WLM version first, hopefully something MP5 can take care of its self. RE: Messenger.MyName in WLM 2011 by SmokingCookie on 01-07-2011 at 04:17 PM
An error in the debugging window will cause problems to scripts, for example: JScript code: The third line of "code" within the function body will trigger an error, so the rest of the function won't be executed. Of course, correct me of I'm wrong RE: Messenger.MyName in WLM 2011 by mynetx on 01-07-2011 at 04:23 PM
quote:It is entirely, for now. quote:You can always decide to catch exceptions, like this: jscript code: RE: Messenger.MyName in WLM 2011 by CookieRevised on 01-07-2011 at 04:26 PM
quote:Hence why Spunky suggested a silent error I Think. Silent errors do not halt further execution. RE: Messenger.MyName in WLM 2011 by Spunky on 01-07-2011 at 05:35 PM
quote: Yeah, to clarify, that's what I meant. I think we need more feedback in the debug window than just the "fatal" errors that halt the script. @mynetx: Setting exceptions like that would work, but not for the scripts already released (in the database, on the forums or something someone has made for personal use) An error message in the debug window would let the developer know straight away that they won't be able to set anything by using the property. quote: I think it will just need some internal tweaking (or possibly already has... any beta testers want to shed some light?). Anything that requires us to go back and re-write code is going to break a lot of scripts on the database that are no longer being maintained. RE: Messenger.MyName in WLM 2011 by mynetx on 01-07-2011 at 06:02 PM
quote:Setting Messenger.MyName is currently possible. Also, using /name <stuff> is possible too. This is because internally the nickname still exists - Messenger 2011 just doesn't display it anymore. If you are talking with a contact who is using Messenger 2009, they will see when you change your name. Expect this Plus! behavior to be subject to change as the current beta is not a Release Candidate yet. RE: Messenger.MyName in WLM 2011 by matty on 01-07-2011 at 06:04 PM I would anticipate you would receive an error saying that the object doesn't support this operation which would halt execution. Maybe they can add a catch internally into the script engine that says 'Woah we can't do that but let's not stop your script'... RE: Messenger.MyName in WLM 2011 by foaly on 01-07-2011 at 09:43 PM
We'll have to just wait and see... RE: Messenger.MyName in WLM 2011 by Apatik on 01-07-2011 at 09:52 PM Actually the block functions are still working the same way they used to, except they trigger "appear offline to" in WLM2011 instead of a proper "2009" block. RE: Messenger.MyName in WLM 2011 by Spunky on 01-07-2011 at 10:57 PM
quote: So they can in fact still send you messages as opposed to being blocked? (I suppose you can still send them messages too?) RE: Messenger.MyName in WLM 2011 by Menthix on 01-08-2011 at 12:26 AM
quote:No. if *you* "block" someone in WLM2011 *you* can't sent messages to the person you blocked. But the *contact* you blocked because he is being annoying can still continue to annoy you by sending *you* as many messages as he/she likes... welcome to the "logic" of Microsofts WLM2011 team. RE: Messenger.MyName in WLM 2011 by SmokingCookie on 01-08-2011 at 03:14 PM So, I'm correct in saying that I needn't worry about scripts ceasing to run? Anyway, thanks for the clear information |