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

Pages: (4): « First [ 1 ] 2 3 4 » Last »
Buttons & Images
Author: Message:
c_clarky_89
Junior Member
**


Posts: 55
35 / Male / Flag
Joined: Nov 2008
O.P. Cool  Buttons & Images
Hello, im wondering if its possible to get images on the buttons instead of using text?:D

This post was edited on 11-04-2008 at 02:08 PM by c_clarky_89.
11-04-2008 02:06 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: Buttons & Images
xml code:
<Control Id="BtnName" xsi:type="ButtonControl">
    <Position Top="40" Left="5" Width="190" Height="32"/>
    <Attributes><Align>left</Align></Attributes>
    <Image><Name>normal\ftp</Name></Image>
    <Caption>Some Text</Caption>
</Control>

You can do both.
11-04-2008 02:27 PM
Profile E-Mail PM Find Quote Report
c_clarky_89
Junior Member
**


Posts: 55
35 / Male / Flag
Joined: Nov 2008
O.P. Cool  RE: Buttons & Images
Thanks for the reply :D would i be able to get the msn emoticons on the buttons? :)
11-04-2008 02:33 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: Buttons & Images
Easiest way for that is to extract the resources for the skin creation and take them from there. And yes you can use any image as long as you have it in your Images folder (the structure of the images folder for the code above is Scripts Folder\Images\normal\ftp.png - extension isn't required.)
11-04-2008 03:30 PM
Profile E-Mail PM Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: Buttons & Images
quote:
Originally posted by c_clarky_89
Thanks for the reply :D would i be able to get the msn emoticons on the buttons? :)

You'd need to save the emoticons to your script directory really I think... Although it may be possible to enumerate the emoticons collection and get a filepath, but I'm uncertain of that.
<Eljay> "Problems encountered: shit blew up" :zippy:
11-04-2008 03:31 PM
Profile PM Find Quote Report
c_clarky_89
Junior Member
**


Posts: 55
35 / Male / Flag
Joined: Nov 2008
O.P. RE: Buttons & Images
ive got all the emoticons i need but i dont know how to get the pictures on the buttons heres the code im using:

                <Control xsi:type="ButtonControl" Id="BtnPlane">
                        <Position Top="165" Width="100" Height="20" Left="10"/>
                        <Attributes><Align>center</Align></Attributes>
                        <Image><Name>normal\ftp\msn_airplane</Name></Image>
                        <Caption>Plane</Caption>
                </Control>

and the folder that the images are in is:

Images\normal\ftp

the images folder is in the folder were my scripting files are

This post was edited on 11-05-2008 at 10:04 AM by c_clarky_89.
11-04-2008 10:03 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: Buttons & Images
Try and just put the image in the Images folder and change it to
xml code:
                <Control xsi:type="ButtonControl" Id="BtnPlane">
                        <Position Top="165" Width="100" Height="20" Left="10"/>
                        <Attributes><Align>center</Align></Attributes>
                        <Image><Name>msn_airplane</Name></Image>
                        <Caption>Plane</Caption>
                </Control>

See if that works.
11-05-2008 02:21 PM
Profile E-Mail PM Find Quote Report
c_clarky_89
Junior Member
**


Posts: 55
35 / Male / Flag
Joined: Nov 2008
O.P. RE: Buttons & Images
still dont work :'(

is this where the Images folder should be:P:

Messenger Plus! Live\Scripts\(Name of script)\Images

This post was edited on 11-05-2008 at 02:42 PM by c_clarky_89.
11-05-2008 02:32 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: Buttons & Images
Have you restarted Windows Live Messenger since you made these initial changes?

If not the cause is likely related to how Messenger Plus! Live deals with interfaces. It loads them once then doesn't load them again.

To change this follow this posted by Patchou.

quote:
Originally posted by Patchou
Edit: for optimisation reasons, the information for every given window is loaded only once. As this would pretty annoying for someone who wants to try to change the files and see the results immediately, you can set a dword value "AlwaysReloadInterfaces=1" in "HKEY_CURRENT_USER\Software\Patchou\Messenger Plus! Live" to force Plus! to always reload the windows info.
11-05-2008 02:56 PM
Profile E-Mail PM Find Quote Report
c_clarky_89
Junior Member
**


Posts: 55
35 / Male / Flag
Joined: Nov 2008
O.P. RE: Buttons & Images
is this correct:

[Image: untitled.PNG]

im new to the regedit bit lol:P
11-06-2008 11:46 AM
Profile E-Mail PM Web Find Quote Report
Pages: (4): « First [ 1 ] 2 3 4 » Last »
« 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