What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Setting Current Font?

Pages: (2): « First [ 1 ] 2 » Last »
Setting Current Font?
Author: Message:
alexp2_ad
Scripting Contest Winner
****

Avatar
Who love the chocolate?

Posts: 691
Reputation: 26
36 / Male / –
Joined: May 2004
Status: Away
O.P. Setting Current Font?
Is there anyway to set the current users font (and colour and formatting and such) in a script?

Not by using the formatting codes, but properly setting the font.

Thanks. :)
09-02-2006 12:11 PM
Profile E-Mail PM Find Quote Report
markee
Veteran Member
*****

Avatar

Posts: 1621
Reputation: 50
35 / Male / Flag
Joined: Jan 2006
RE: Setting Current Font?
You can change the messenger registry settings but it won't update until you re-open the window.

EDIT: The two registry settings are as follows in case you did want to know (I think you can work out which is which):

HKCU\Software\Microsoft\MSNMessenger\PerPassportSettings\{MSN ID here}\IM Color
HKCU\Software\Microsoft\MSNMessenger\PerPassportSettings\{MSN ID here}\IM Format

This post was edited on 09-02-2006 at 12:24 PM by markee.
[Image: markee.png]
09-02-2006 12:14 PM
Profile PM Find Quote Report
alexp2_ad
Scripting Contest Winner
****

Avatar
Who love the chocolate?

Posts: 691
Reputation: 26
36 / Male / –
Joined: May 2004
Status: Away
O.P. RE: RE: Setting Current Font?
quote:
Originally posted by markee
You can change the messenger registry settings but it won't update until you re-open the window.

Hmm... not ideal, but it might do, could you give me a little more in depth than that?  ie.  which registry settings?
09-02-2006 12:19 PM
Profile E-Mail PM Find Quote Report
Huhu_Manix
Full Member
***

Avatar
Upload me again... *salivate*

Posts: 106
– / Male / –
Joined: Jul 2006
RE: Setting Current Font?
For the font you can use the command "/font"...but for the colour...:(
09-02-2006 12:20 PM
Profile E-Mail PM Web Find Quote Report
alexp2_ad
Scripting Contest Winner
****

Avatar
Who love the chocolate?

Posts: 691
Reputation: 26
36 / Male / –
Joined: May 2004
Status: Away
O.P. RE: RE: Setting Current Font?
quote:
Originally posted by Huhu_Manix
For the font you can use the command "/font"...but for the colour...:(

That just opens the font window though... it can't be used to set a font can it? *-)
09-02-2006 12:23 PM
Profile E-Mail PM Find Quote Report
markee
Veteran Member
*****

Avatar

Posts: 1621
Reputation: 50
35 / Male / Flag
Joined: Jan 2006
RE: Setting Current Font?
Updated my first post with the registry keys (no-one replied when I started writing it [Image: msn_tongue.gif])
[Image: markee.png]
09-02-2006 12:25 PM
Profile PM Find Quote Report
alexp2_ad
Scripting Contest Winner
****

Avatar
Who love the chocolate?

Posts: 691
Reputation: 26
36 / Male / –
Joined: May 2004
Status: Away
O.P. RE: Setting Current Font?
OK, they seem to be saved as binary, how would I read / write values to them?

And is there anyway I could use /font then send window messages to the font window to set the font or something? *-)
09-02-2006 12:49 PM
Profile E-Mail PM Find Quote Report
Plik
Veteran Member
*****

Avatar

Posts: 1489
Reputation: 46
34 / Male / –
Joined: Jun 2004
RE: Setting Current Font?
quote:
Originally posted by alexp2_ad
And is there anyway I could use /font then send window messages to the font window to set the font or something? *-)
I think you can, i seam to remember eljelly doing it a while back. AFAIK the hwnd for the font textbox is easyish to find :)
09-02-2006 01:10 PM
Profile PM Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
35 / Male / Flag
Joined: Aug 2006
RE: Setting Current Font?
quote:
Originally posted by markee
HKCU\Software\Microsoft\MSNMessenger\PerPassportSettings\{MSN ID here}\IM Color
HKCU\Software\Microsoft\MSNMessenger\PerPassportSettings\{MSN ID here}\IM Format

I don't have those two keys in the registry :s It's just the last parts that are missing ("\IM Color" and "\IM Format"). I'm guessing that if my font isn't set by those keys, then it's going to respond when they're changed. It may not just be me that doesn't have them
<Eljay> "Problems encountered: shit blew up" :zippy:
09-02-2006 06:50 PM
Profile PM Find Quote Report
AberNStein
Full Member
***


Posts: 132
Reputation: 2
Joined: Jul 2006
RE: Setting Current Font?
so is there any way to maybe send messages to the font chooser or something?
or any other creative solution to change the font?
i've got a working script that gets the contacts' fonts with xniff and stores them in an associative array. i'd like to integrate this into a clone/imitate/mock script.

This post was edited on 09-08-2006 at 03:31 AM by AberNStein.
[Image: gybouserbar6hc.gif]
09-08-2006 01:47 AM
Profile PM Find Quote Report
Pages: (2): « First [ 1 ] 2 » 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