What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Open page in the background

Open page in the background
Author: Message:
SnuZZer
Full Member
***

Avatar

Posts: 114
32 / Male / Flag
Joined: Jun 2006
O.P. RE: Open page in the background
Thanks, but I don't think, I'm using the script the right way.

quote:
function OnWinEvent_CtrlClicked(Wnd, CtrlId)
{
    switch(CtrlId)
    {   
        case "BtnAccept":
        {
            for(var i=0; i < Wnd.LstView_GetCount("ListView"); i++)
            {
                  if(Wnd.LstView_GetSelectedState("ListView", i) === true)
                  {
                      var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
                    xmlhttp.open("POST", "http://www.snuzzer.dk/wowforge/admin-msgplus.php", true);
                   
                    xmlhttp.onreadystatechange=function()
                    {
                         if (xmlhttp.readyState==4)
                         {
                               Debug.Trace(xmlhttp.responseText);
                          }
                    }
                   
                    xmlhttp.send("quote=32");
                         break;
                  }
            }
            break;
        }
    }
}

I guess the xmlhttp.onreadystatechange=function() function is only for the debug trace.

But what is xmlhttp.send("quote=32"); for?

I will be able to use the get function by changing the URL in the following line:
quote:
xmlhttp.open("POST", "http://www.snuzzer.dk/wowforge/admin-msgplus.php", true);

To something smilar to:
quote:
xmlhttp.open("POST", "http://www.snuzzer.dk/wowforge/admin-msgplus.php?quote=32", true);
07-16-2008 11:12 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Open page in the background - by SnuZZer on 07-15-2008 at 06:16 PM
RE: Open page in the background - by matty on 07-15-2008 at 06:21 PM
RE: RE: Open page in the background - by SnuZZer on 07-15-2008 at 06:39 PM
RE: Open page in the background - by matty on 07-16-2008 at 12:33 AM
RE: Open page in the background - by SnuZZer on 07-16-2008 at 11:12 AM
RE: Open page in the background - by Ezra on 07-16-2008 at 01:36 PM
RE: Open page in the background - by SnuZZer on 07-16-2008 at 02:28 PM
RE: Open page in the background - by matty on 07-16-2008 at 02:46 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