What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Caching which windows have a command enabled

Caching which windows have a command enabled
Author: Message:
MrPickle
New Member
*


Posts: 5
Joined: Nov 2008
O.P. RE: Caching which windows have a command enabled
What is it then, if it's not an array?

Every langauge I've ever worked in oChatWnds[oChatWnd.Handle] would be an array. :P

Would this be acceptable.
JScript code:
var Windows = new Array();
 
function OnEvent_ChatWndCreated(ChatWnd) {
    wnd = {};
    wnd.Handle = ChatWnd.Handle;
    wnd.bCommand = false;
    Windows.push_back(wnd);
}


This would mean you wouldn't have massive gaps but you'd have to loop through the chats.

Going back to one of my first questions, can the value in between the square brackets be a string?
11-18-2008 11:19 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Caching which windows have a command enabled - by MrPickle on 11-18-2008 at 08:14 PM
RE: Caching which windows have a command enabled - by matty on 11-18-2008 at 08:52 PM
RE: Caching which windows have a command enabled - by MrPickle on 11-18-2008 at 09:39 PM
RE: Caching which windows have a command enabled - by Spunky on 11-18-2008 at 10:37 PM
RE: Caching which windows have a command enabled - by MrPickle on 11-18-2008 at 10:48 PM
RE: Caching which windows have a command enabled - by matty on 11-18-2008 at 11:07 PM
RE: Caching which windows have a command enabled - by MrPickle on 11-18-2008 at 11:19 PM
RE: Caching which windows have a command enabled - by Spunky on 11-19-2008 at 01:17 AM
RE: Caching which windows have a command enabled - by MrPickle on 11-19-2008 at 08:25 AM
RE: Caching which windows have a command enabled - by Matti on 11-19-2008 at 12:44 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