What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » API and Mozilla

API and Mozilla
Author: Message:
rix
Full Member
***

Avatar

Posts: 483
Reputation: 16
34 / Male / Flag
Joined: Apr 2004
O.P. API and Mozilla
Hey!

One local user here asked about possibility to show the name of the webpage opened in Mozilla in your personal message / nickname. As im not familiar with scripting nor API, i'm asking.. is it possible?
Show Plus! your commitment - Support Plus!
:: Plus!'s Estonian community - http://foorum.msgpluslive.ee/ ::
10-07-2007 02:49 PM
Profile E-Mail PM Find Quote Report
Shiny Rabbit
Full Member
***

Avatar
oohhh shiny

Posts: 296
Reputation: 2
– / Male / Flag
Joined: Jun 2007
RE: API and Mozilla
i don't think it is
[Image: 202-3.png][Image: shinyhachunesig.png]



10-07-2007 03:01 PM
Profile E-Mail PM Find Quote Report
-dt-
Scripting Contest Winner
*****

Avatar
;o

Posts: 1819
Reputation: 74
35 / Male / Flag
Joined: Mar 2004
RE: API and Mozilla
quote:
Originally posted by rix
Hey!

One local user here asked about possibility to show the name of the webpage opened in Mozilla in your personal message / nickname. As im not familiar with scripting nor API, i'm asking.. is it possible?

just findwindow and then get the window title and strip " - Mozilla Firefox" or whatever :P

code:
    var WM_GETTEXT = 0xD
    var hwnd = Interop.Call('User32',"FindWindowW", 'MozillaUIWindowClass', 0);
   
    if(hwnd > 0){
        var appTitle = Interop.Allocate((255 *2)+2);
        if(Interop.Call('User32', 'SendMessageW', hwnd, WM_GETTEXT, 255, appTitle)){
            var titleRaw = appTitle.ReadString(0);
            var title = titleRaw.replace(" - Mozilla Firefox", "");
            Debug.Trace(title);
        }

    }



other than that, you could probably create an extension to communicate with the plus script
[Image: dt2.0v2.png]      Happy Birthday, WDZ
10-07-2007 03:14 PM
Profile PM Web Find Quote Report
felipEx
Scripting Contest Winner
***


Posts: 378
Reputation: 24
35 / Male / Flag
Joined: Jun 2006
RE: API and Mozilla
do you know if is there a way to use Dynamic Data Exchange(DDE) from Plus! Scripting?

;)
10-08-2007 02:01 AM
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