What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » HELP - Window Button Icons!

HELP - Window Button Icons!
Author: Message:
whiz
Senior Member
****


Posts: 568
Reputation: 8
– / – / Flag
Joined: Nov 2008
O.P. HELP - Window Button Icons!
I know that I can add icons to a button using the XML code:
XML code:
<Image><Name>icon-XXXXXX</Name></Image>


1) I know of "floppy", "refresh" and "delete".  What others are there?
2) Can I use my own icons, for example, an image in the script directory?
02-20-2009 04:51 PM
Profile E-Mail PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: HELP - Window Button Icons!
You can use your own you would have something like this

-- script folder
  |-- Images
     |-- myimage.png
  |-- myscript.js
  |-- myscript.xml

Then in the XML you would use
XML code:
<Image><Name>myimage</Name></Image>

02-20-2009 05:47 PM
Profile E-Mail PM Find Quote Report
pollolibredegrasa
Full Member
***

Avatar
formerly fatfreechicken

Posts: 483
Reputation: 34
35 / Male / Flag
Joined: May 2005
RE: HELP - Window Button Icons!
quote:
1) I know of "floppy", "refresh" and "delete".  What others are there?

You can use any image from Messenger Plus! by supplying the resource name (I've never tried them all so not sure if they all work, but I presume they would).

To get the names of the images, you can open Messenger Plus! preferences>Customize>Extract Resources and extract Messenger Plus Resources to a folder on your computer. The filenames for the images are what you can use within <name></name>.

Alternatively, you can open MsgPlusLiveRes.dll in a program such as ResHack that lets you view resources contained in the file. The images are in the PNG resource group. Just use the resource name within the <name></name> tags in your XML.

quote:
2) Can I use my own icons, for example, an image in the script directory?

Yes, just supply the filename of the image instead. Just remember that if you use a jpg (or gif in Messenger Plus! Live 4.80.356 and above), you will need to add the correct <format> tag to your XML, eg:

XML code:
 <Image><Name>My_Icon</Name><Format>JPEG</Format></Image>


Hope this helps.
;p

[Image: chickennana.gif] Vaccy is my thin twin! [Image: chickennana.gif]
02-20-2009 06:01 PM
Profile PM Find Quote Report
whiz
Senior Member
****


Posts: 568
Reputation: 8
– / – / Flag
Joined: Nov 2008
O.P. RE: HELP - Window Button Icons!
Works great, thanks!
02-20-2009 07:50 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