What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » oChatWnds[ChatWnd.Handle] - Shorcut?

oChatWnds[ChatWnd.Handle] - Shorcut?
Author: Message:
Master Jake
New Member
*

Haii

Posts: 7
32 / Male / Flag
Joined: Feb 2009
O.P. oChatWnds[ChatWnd.Handle] - Shorcut?
Typing this shit at the beginning of every unique variable gets kinda tedious and confusing. I know I could do something like:

var blah = oChatWnds[ChatWnd.Handle];

then do blah.variable but thats still annoying.

Is there anyway to write some kind of shortcut that just tells the program to always use oChatWnds[ChatWnd.Handle] at the beginning over every variable?
02-09-2009 10:44 PM
Profile E-Mail PM Web Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: oChatWnds[ChatWnd.Handle] - Shorcut?
js code:
with ( oChatWnds[ ChatWnd.Handle ] ) {
    /*
        your code here
    */
}

This post was edited on 02-10-2009 at 12:44 AM by matty.
02-10-2009 12:44 AM
Profile E-Mail PM Find Quote Report
Master Jake
New Member
*

Haii

Posts: 7
32 / Male / Flag
Joined: Feb 2009
O.P. RE: oChatWnds[ChatWnd.Handle] - Shorcut?
Ah yes that makes sense. Thanks a lot your very helpful.
02-10-2009 03:39 PM
Profile E-Mail PM Web Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: oChatWnds[ChatWnd.Handle] - Shorcut?
No problem it is what we are here for.
02-10-2009 04:06 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »


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