What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Release] Enhanced PSM (Version 2.1)

[Release] Enhanced PSM (Version 2.1)
Author: Message:
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
O.P. RE: [Release] Enhanced PSM (Version 1.0)
Been working on this for a few hours now so.. TA DA... my magic little GUI for repositioning the little window! You can reposition and resize it now and I've also added a refresh button to refresh the window manually. Decided not to increase refresh rate to greater than 4 times a minute (15 second gap) as unless you use a script to constantly update your PSM, you won't need it (and even then, your PSM is still updating and working fine, it just takes you longer to preview it). Position and size is saved in the registry using DWORDs...

[Image: screenshot.png]

I want you to know that I was pulling my hair out with a couple of lines of code... Just to demonstrate:
code:
if(ControlId=="arrow_left2"){
nudge=10; //just so you know the value
        current = ConfigWnd.GetControlText("txt_width")
        ConfigWnd.SetControlText("txt_width",current+nudge);
        OnConfigEvent_CtrlClicked("", "btn_apply");
    }

If current was 100 for example, it should now say 90... Instead, it said 10010. It was appending it as a string as it was using the + sign. I know in VB that the & sign was more commonly used for that purpose and + was for mathematical equasions. Just pointing this pain in the ass out though. Got it to work by doing this:
code:
if(ControlId=="arrow_left2"){
nudge=10; //just so you know the value
        current = ConfigWnd.GetControlText("txt_width")
        ConfigWnd.SetControlText("txt_width",current-(-nudge));
        OnConfigEvent_CtrlClicked("", "btn_apply");
    }


Took me about 15 minutes to figure it out *-)

Attachment Removed - Click to download newest version

This post was edited on 11-19-2006 at 02:12 PM by Spunky.
<Eljay> "Problems encountered: shit blew up" :zippy:
11-18-2006 02:25 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Release] Enhanced PSM (Version 2.1) - by Spunky on 10-25-2006 at 06:16 PM
RE: [Release] Enhanced PSM (Version 1.0) - by MoonGoose on 10-25-2006 at 06:42 PM
RE: [Release] Enhanced PSM (Version 1.0) - by Spunky on 10-25-2006 at 07:24 PM
RE: [Release] Enhanced PSM (Version 1.0) - by Jimbo on 10-25-2006 at 07:31 PM
RE: [Release] Enhanced PSM (Version 1.0) - by Spunky on 10-25-2006 at 07:32 PM
RE: [Release] Enhanced PSM (Version 1.0) - by Thor on 10-25-2006 at 07:35 PM
RE: [Release] Enhanced PSM (Version 1.0) - by Jimbo on 10-25-2006 at 07:35 PM
RE: [Release] Enhanced PSM (Version 1.0) - by Spunky on 10-25-2006 at 07:42 PM
RE: [Release] Enhanced PSM (Version 1.0) - by Jimbo on 10-25-2006 at 07:45 PM
RE: [Release] Enhanced PSM (Version 1.0) - by Spunky on 10-25-2006 at 07:47 PM
RE: [Release] Enhanced PSM (Version 1.0) - by Jimbo on 10-25-2006 at 07:50 PM
RE: [Release] Enhanced PSM (Version 1.0) - by Spunky on 10-25-2006 at 07:53 PM
RE: [Release] Enhanced PSM (Version 1.0) - by Jimbo on 10-25-2006 at 07:53 PM
RE: [Release] Enhanced PSM (Version 1.0) - by Spunky on 10-25-2006 at 07:56 PM
RE: [Release] Enhanced PSM (Version 1.0) - by Jimbo on 10-25-2006 at 07:57 PM
RE: [Release] Enhanced PSM (Version 1.0) - by Solar_custom on 10-27-2006 at 09:11 PM
RE: [Release] Enhanced PSM (Version 1.0) - by Spunky on 10-27-2006 at 10:38 PM
RE: [Release] Enhanced PSM (Version 1.0) - by elektra on 11-12-2006 at 07:04 PM
RE: [Release] Enhanced PSM (Version 1.0) - by Spunky on 11-13-2006 at 08:37 PM
RE: [Release] Enhanced PSM (Version 1.0) - by Jimbo on 11-13-2006 at 08:41 PM
RE: [Release] Enhanced PSM (Version 1.0) - by elektra on 11-13-2006 at 08:47 PM
RE: [Release] Enhanced PSM (Version 1.0) - by vaccination on 11-13-2006 at 08:47 PM
RE: [Release] Enhanced PSM (Version 1.0) - by Spunky on 11-13-2006 at 08:48 PM
RE: [Release] Enhanced PSM (Version 1.0) - by Jimbo on 11-13-2006 at 08:49 PM
RE: [Release] Enhanced PSM (Version 1.0) - by Spunky on 11-13-2006 at 08:52 PM
RE: [Release] Enhanced PSM (Version 1.0) - by Jimbo on 11-13-2006 at 08:53 PM
RE: [Release] Enhanced PSM (Version 1.0) - by Spunky on 11-13-2006 at 09:00 PM
RE: [Release] Enhanced PSM (Version 1.0) - by Spunky on 11-13-2006 at 09:36 PM
RE: [Release] Enhanced PSM (Version 1.0) - by elektra on 11-13-2006 at 09:57 PM
RE: [Release] Enhanced PSM (Version 1.0) - by Jimbo on 11-14-2006 at 07:52 AM
RE: [Release] Enhanced PSM (Version 1.0) - by Spunky on 11-14-2006 at 11:48 AM
RE: [Release] Enhanced PSM (Version 1.0) - by Jimbo on 11-14-2006 at 03:26 PM
RE: [Release] Enhanced PSM (Version 1.0) - by Psychotic-Retard on 11-14-2006 at 05:18 PM
RE: [Release] Enhanced PSM (Version 1.0) - by Spunky on 11-14-2006 at 05:35 PM
RE: [Release] Enhanced PSM (Version 1.0) - by duck! on 11-14-2006 at 06:33 PM
RE: [Release] Enhanced PSM (Version 1.0) - by Spunky on 11-18-2006 at 02:25 AM
RE: [Release] Enhanced PSM (Version 1.0) - by Plan-1130 on 11-18-2006 at 07:41 AM
RE: RE: [Release] Enhanced PSM (Version 1.0) - by phalanxii on 11-18-2006 at 09:37 AM
RE: [Release] Enhanced PSM (Version 1.0) - by Matti on 11-18-2006 at 09:38 AM
RE: [Release] Enhanced PSM (Version 1.0) - by Spunky on 11-18-2006 at 07:04 PM
RE: [Release] Enhanced PSM (Version 1.0) - by elektra on 11-19-2006 at 10:44 AM
RE: [Release] Enhanced PSM (Version 1.0) - by Spunky on 11-19-2006 at 02:04 PM
RE: [Release] Enhanced PSM (Version 2.1) - by elektra on 11-19-2006 at 03:49 PM


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