What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » WriteDWORD - sending hex value from 3 decimal values

WriteDWORD - sending hex value from 3 decimal values
Author: Message:
MeEtc
Patchou's look-alike
*****

Avatar
In the Shadow Gallery once again

Posts: 2200
Reputation: 60
38 / Male / Flag
Joined: Nov 2004
Status: Away
O.P. RE: WriteDWORD - sending hex value from 3 decimal values
that doesn't help, if the values are coming from a string, like "#RRGGBB". So I use substr to separate the 3 colour values, but that doesn't turn it into a hex value

EDIT: mynetx provided me a solution
code:
CHOOSECOLOR.WriteDWORD(12, eval('0x00'+b+g+r));

This post was edited on 12-09-2007 at 10:12 PM by MeEtc.
[Image: signature/]     [Image: sharing.png]
I cannot hear you. There is a banana in my ear.
12-09-2007 09:56 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
WriteDWORD - sending hex value from 3 decimal values - by MeEtc on 12-09-2007 at 09:04 PM
RE: WriteDWORD - sending hex value from 3 decimal values - by ShawnZ on 12-09-2007 at 09:23 PM
RE: WriteDWORD - sending hex value from 3 decimal values - by MeEtc on 12-09-2007 at 09:56 PM
RE: WriteDWORD - sending hex value from 3 decimal values - by Matti on 12-10-2007 at 11:47 AM
RE: WriteDWORD - sending hex value from 3 decimal values - by Felu on 12-10-2007 at 11:52 AM
RE: WriteDWORD - sending hex value from 3 decimal values - by Matti on 12-10-2007 at 12:10 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