What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Skinning & scripting

Skinning & scripting
Author: Message:
SmokingCookie
Senior Member
****

Avatar

Posts: 815
Reputation: 15
29 / Male / Flag
Joined: Jul 2007
O.P. Skinning & scripting
First of all: this could arguably be placed in the Skinning section too, but I just stick to Scripting on this one :P

I heard rumors that Plus! 5 has or will have dynamic skinning functionalities. Is it possible to provide such stuff to the scripting engine too? Something like:

JScript code:
/* Concept */
 
var Skinning = MsgPlus.Skinning;
var BtnSkinOptions  = Skinning.ContactList.AddButton("BtnSkinOptions","Skin options");
var BtnSkinSite = Skinning.ContactList.AddButton("BtnSkinSite","View this skin's web page");
 
BtnSkinSite.onEvent_Click(Source) {
    ViewWebPage("http://www.example.com/"); // script-defined function
}


This post was edited on 03-19-2011 at 01:58 PM by SmokingCookie.
03-19-2011 01:54 PM
Profile PM Find Quote Report
SmokingCookie
Senior Member
****

Avatar

Posts: 815
Reputation: 15
29 / Male / Flag
Joined: Jul 2007
O.P. RE: Skinning & scripting
Actually, the toast thing doesn't really answer my question - no offence though. What I meant, was that I'd like to dynamically (i.e. through a script) add stuff to the Messenger windows, without restarting it.
03-20-2011 09:57 AM
Profile PM Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Skinning & scripting
Dynamically skinning means (in yuna's terms) applying skins without restarting.

It is not meant to have the ability to alter stuff on-the-fly with scripting. That's a step further and something else entirely... Nevertheless, it would be a cool addition of course.

But let's first wait on dynamic skinning :p
After that, we can dream of having stacked skinning, combined script/skin packages, and on-the-fly altering of skins with scripts... :D

------

@gabydday, I have requested your posts (and the replies to it) to be split. Your post is off topic and appears to be a request to skin toasts. But as blessedguy already said, that is already possible (since as long as skinning exists actually). Skinning toasts, and Plus! as a whole, works just the same as skinning Messenger. See the docs....
.-= A 'frrrrrrrituurrr' for Wacky =-.
03-20-2011 10:40 AM
Profile PM Find Quote Report
SmokingCookie
Senior Member
****

Avatar

Posts: 815
Reputation: 15
29 / Male / Flag
Joined: Jul 2007
O.P. RE: Skinning & scripting
So, is there a hard way of doing it without the dynamic skinning in Yuna's terms? :P
03-20-2011 10:54 AM
Profile PM Find Quote Report
foaly
Senior Member
****

Avatar

Posts: 718
Reputation: 20
37 / Male / Flag
Joined: Jul 2006
RE: Skinning & scripting
quote:
Originally posted by SmokingCookie
So, is there a hard way of doing it without the dynamic skinning in Yuna's terms? :P
you can make a window and lay it over the contact list, that is how a local time script did it IIRC...
[signature.jpg]
03-20-2011 11:18 AM
Profile E-Mail PM Find Quote Report
SmokingCookie
Senior Member
****

Avatar

Posts: 815
Reputation: 15
29 / Male / Flag
Joined: Jul 2007
O.P. RE: Skinning & scripting
That's a good possibility indeed. But adding UI elements like skinning does; is that possible too?
03-20-2011 12:23 PM
Profile PM Find Quote Report
blessedguy
Skinning Contest Winner
*****


Posts: 1762
Reputation: 25
31 / Male / Flag
Joined: Jan 2008
RE: Skinning & scripting
quote:
Originally posted by SmokingCookie
But adding UI elements like skinning does; is that possible too?
Can scripts create new CmdIds? If so, I think a skin could add the elements you want and a script could add it's functionality to it. [aka it indeed would be great if scripts could get some skinning functionalities "natively", and it would also be great if skins could have some scripting functionalities]
[Image: Empty.png]
03-20-2011 02:55 PM
Profile PM Web Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Skinning & scripting
You are unable to subclass in the way you need to subclass to catch the cmdids. So, even if you do create your own cmdid for a menu or button, it wont do you any good.

You can however, in some cases, manipulate existing buttons via Active Accessebility. But that is rather limited too (again, especially because of the lack of proper subclassing in scripting).
.-= A 'frrrrrrrituurrr' for Wacky =-.
03-20-2011 03:01 PM
Profile PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Skinning & scripting
quote:
Originally posted by CookieRevised
You are unable to subclass in the way you need to subclass to catch the cmdids. So, even if you do create your own cmdid for a menu or button, it wont do you any good.
One could however inject ASM into the process to subclass ';)
03-20-2011 03:20 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