PDA

View Full Version : messenger scripting questions


gbgkille69@spray.se
November 24th 05, 03:07 PM
Hello

I have Windows Messenger and MSN Messenger installed on my computer.
I'd like to initiate a chat session from a jscipt. The following script
works fine on my computer and will open a chat session using MSN:

start.js:
var obj = new ActiveXObject("Messenger.UIAutomation.1");
obj.AutoSignin();
obj.InstantMessage( " );

When I try the same script on a cumputer that only has Windows
Messenger installed nothing will happen.

How can I know which messengers that are instaleld?
How can I know which is the default messenger?
How can I force that Windows Messenger is used if the system has both?
Why does the above script fial on systems that only have Windows
Messenger but not MSN Messenger?

Jay Ray...
November 25th 05, 04:42 PM
Thank you. You may not be able to understand my prob at this moment.I wish
you can assist me..I really find this frustrating sometime...I have tried
restart abd deleted all files..
do you think this can help by deleting files..?is my pc having virus ?
my email is
regards
jayme

" wrote:

> Hello
>
> I have Windows Messenger and MSN Messenger installed on my computer.
> I'd like to initiate a chat session from a jscipt. The following script
> works fine on my computer and will open a chat session using MSN:
>
> start.js:
> var obj = new ActiveXObject("Messenger.UIAutomation.1");
> obj.AutoSignin();
> obj.InstantMessage( " );
>
> When I try the same script on a cumputer that only has Windows
> Messenger installed nothing will happen.
>
> How can I know which messengers that are instaleld?
> How can I know which is the default messenger?
> How can I force that Windows Messenger is used if the system has both?
> Why does the above script fial on systems that only have Windows
> Messenger but not MSN Messenger?
>
>

Google