Microsoft Communicator Presence in Gadget


  1. Posts : 5
    W7 Enterprise x64
       #1

    Microsoft Communicator Presence in Gadget


    I have a short script that works in an HTML page and pulls a person's communicator presence given their email address. When I try this in a gadget, it just won't work the same. Here is the code.

    Code:
    <html> 
      <head> 
      <script language="JavaScript"> 
        var nameCtrl = new ActiveXObject("Name.NameCtrl"); 
      </script> 
      </head> 
      <body> 
      <span onmouseover="nameCtrl.ShowOOUI('test@example.com',0,this.offsetLeft,this.offsetTop)"onmouseout="nameCtrl.HideOOUI()"> 
        Hover your mouse over this text to retrieve presence information. 
      </span> 
      </body> 
      </html>
    If nothing else, I would like to just display the presence color of the person. Does anyone have any experience with this JS object to help me out?
      My Computer


  2. Posts : 5
    W7 Enterprise x64
    Thread Starter
       #2

    This seems to work

    NameCtrl.GetStatus Method
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 11:15.
Find Us