Shoutbox

close messenger - 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: close messenger (/showthread.php?tid=83599)

close messenger by Suxsem on 05-08-2008 at 02:35 PM

How I can exit (totally close) messenger by Script?
thank


second answer:
how I can open messenger plus script preferences by script?

thank
RE: close messenger by CookieRevised on 05-08-2008 at 05:26 PM

I don't have the time to search at this moment, but both questions are already answered in great detail and with examples on this scripting forum.

For the first one. Use proper methods, not the 'on liners' you'll often find or which people suggest. You need to take several things in account when you close Messenger by script. And you should not force it.

For the second, this is quite easly and involves sending the correct command ID to the main Messenger Window. But again, this requires to take some things in account like Polygamy.

There are already complete example script snippets which do both those things in the proper way (without forcing anything and taking in account the stuff which needs to be taken in account). Search forums... And for exiting Messenger you'll normally should be able to find a script for that in the Official Scripting Database (which adds the /exit command iirc).


RE: close messenger by Suxsem on 05-08-2008 at 06:52 PM

quote:
For the second, this is quite easly and involves sending the correct command ID to the main Messenger Window. But again, this requires to take some things in account like Polygamy.
thank for replay...but...what is the correct command id?
i found the information at http://shoutbox.menthix.net/showthread.php?tid=80...d=880295#pid880295

thank CookieRevised, bye!
RE: close messenger by CookieRevised on 05-09-2008 at 12:19 PM

quote:
Originally posted by Suxsem
thank for replay...but...what is the correct command id?
i found the information at http://shoutbox.menthix.net/showthread.php?tid=80...d=880295#pid880295

thank CookieRevised, bye!
yep, indeed. That's the post I was talking about. But make sure you also read the small print in that post and follow the given links. ;)

------------

For the first question, closing Messenger, you'll find a discussion about that here, and example code here (that same post also includes a link to a full script using that same code to add several new commands to Messenger)



PS: sorry for yesterday, I hadn't much time. But I see you searched yourself already, which is (y)(y)(y).