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

[?] Microsoft Applications
Author: Message:
felipEx
Scripting Contest Winner
***


Posts: 378
Reputation: 24
35 / Male / Flag
Joined: Jun 2006
RE: [?] Microsoft Applications
it serves to you?
var objMsWord= new ActiveXObject("Word.Application");


Example (my spelling checker)

code:
// press F7 key in the chatwindow ;)
function OnEvent_ChatWndEditKeyDown( ChatWnd, KeyCode, CtrlKeyDown, ShiftKeyDown)
{
  if (KeyCode == 118 && ChatWnd.EditText)
  {
     var objMsWord= new ActiveXObject("Word.Application");
     if (objMsWord)
     {
    objMsWord.WordBasic.FileNew();
    objMsWord.WordBasic.Insert(ChatWnd.EditText);
    objMsWord.WordBasic.ToolsSpelling();
    objMsWord.WordBasic.EditSelectAll();
    objMsWord.WordBasic.SetDocumentVar("corregido", objMsWord.WordBasic.Selection);
    objMsWord.Visible = false;
    var strTemp = objMsWord.WordBasic.GetDocumentVar("corregido");
    ChatWnd.EditText = strTemp.substring(0, (strTemp.length) -1);
    objMsWord.Documents.Close(0);
    objMsWord.Quit();
     }
  }
}

11-24-2006 08:04 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[?] Microsoft Applications - by Spunky on 11-21-2006 at 11:58 PM
RE: [?] Microsoft Applications - by markee on 11-22-2006 at 03:22 AM
RE: [?] Microsoft Applications - by Spunky on 11-22-2006 at 05:39 PM
RE: [?] Microsoft Applications - by felipEx on 11-24-2006 at 08:04 PM
RE: [?] Microsoft Applications - by Voldemort on 11-24-2006 at 08:20 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