What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Font variable [for developpement]

Pages: (2): « First [ 1 ] 2 » Last »
Font variable [for developpement]
Author: Message:
Josellis
New Member
*


Posts: 6
32 / Male / –
Joined: Aug 2006
O.P. Font variable [for developpement]
I am trying to add a function to the "huhu clone" plugin.

This function is that it also copies the font of the contact (font, bold, italic, underline, etc.).

The problem is that I can't find the string/variable for the font.

code:
    var CntDP = Cnt.DisplayPicture;
    Messenger.MyDisplayPicture = CntDP;

What I am trying to find is the equivalent of "CntDP" and "Messenger.MyDisplayPicture" but for the font (font, italic, blod, underline). I don't know if it is something like "CntFont" (which includes the fond, bold, italic, underline) or "CntFont" (which includes the fond), "CntFontBold" or "CntFB" (which includes the bold) etc.




I hope you understand what I mean ...
08-03-2006 09:20 AM
Profile PM Find Quote Report
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
32 / Male / Flag
Joined: Apr 2004
RE: Font variable [for developpement]
There is no preset variable in the Contact object containing the current font face of the contact. If it would be there, Huhu Clone probably had it. ;)

I wonder if you can determine the font name using complex DLL functions or w/e, but we have some more experienced members here to answer on that... don't we? :)
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
08-03-2006 09:47 AM
Profile E-Mail PM Web Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: Font variable [for developpement]
Determining a contact's font without sniffing network packets or API hooking the windowless RichEdit will be very difficult, and almost impossible to do reliably.
[Image: spartaafk.png]
08-03-2006 10:23 AM
Profile PM Web Find Quote Report
Josellis
New Member
*


Posts: 6
32 / Male / –
Joined: Aug 2006
O.P. RE: Font variable [for developpement]
but is it possible?

I heard only some "maybe possible" and "might be impossible". But why wouldn't it be easy to do? I am not a very good programmer, and I have no clue how MSN works.

If the font is sent with message, wouldn't we be able to determine the font simply by analysing the data sent?

With the window (when you are chatting) is it possible to make a script which explores the conversation for the contact's messages and then find the font it is writen in?
08-03-2006 10:33 AM
Profile PM Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: Font variable [for developpement]
Packet sniffers are not the easiest things to write. They can get quite complex, and they also need to hook into the system at a fairly low level. It's not for inexperienced programmers. Nor is trying to get the font from the convo window using script.
[Image: spartaafk.png]
08-03-2006 11:40 AM
Profile PM Web Find Quote Report
Josellis
New Member
*


Posts: 6
32 / Male / –
Joined: Aug 2006
O.P. RE: Font variable [for developpement]
can someone write a script for that?
08-03-2006 11:44 AM
Profile PM Find Quote Report
Dempsey
Scripting Contest Winner
*****

Avatar
http://AdamDempsey.net

Posts: 2395
Reputation: 53
38 / Male / Flag
Joined: Jul 2003
RE: Font variable [for developpement]
Couldn't [Release] Xniff (ActiveX Packet Sniffer) - Examples inside be used for this?
SoundPacks   -   Scripts   -   Skins

that's not a bug, thats an unexpected feature
08-03-2006 12:02 PM
Profile E-Mail PM Web Find Quote Report
Josellis
New Member
*


Posts: 6
32 / Male / –
Joined: Aug 2006
O.P. RE: Font variable [for developpement]
It might work, only I have no idea how to use that script ... I don't even know how to open it :)

I thought that finding the script would be very easy ... but I see now that it isn't as easy as I thought and I don't think I would be able to do that alone ...
08-05-2006 12:02 AM
Profile PM Find Quote Report
Huhu_Manix
Full Member
***

Avatar
Upload me again... *salivate*

Posts: 106
– / Male / –
Joined: Jul 2006
RE: Font variable [for developpement]
Don't forget after found font color, bold, etc... We need to apply them into the chat window.

There's command /font in msg plus, but no command for other setting as color...
08-05-2006 12:14 AM
Profile E-Mail PM Web Find Quote Report
Joereynolds89
Junior Member
**


Posts: 69
Joined: Jul 2006
RE: Font variable [for developpement]
colour can be set using bbcode, [c=colour][/c] for example
08-05-2006 12:21 AM
Profile E-Mail 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