What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Help: Sending File

Help: Sending File
Author: Message:
saralk
Veteran Member
*****

Avatar

Posts: 2598
Reputation: 38
35 / Male / Flag
Joined: Feb 2003
O.P. Help: Sending File
Is there any function that is called when the user sends a file? I tried OnEvent_ChatWndSendMessage but nothing happens when a file is sent.
The Artist Formerly Known As saralk
London · New York · Paris
Est. 1989
08-15-2006 08:47 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: Help: Sending File
There are no events atm no, there originally was a SENTFILE item in the MessageKind Enum, but it was removed.

The only ways of detecting a file transfer is using Active Accesability or Protocol Sniffing.
SoundPacks   -   Scripts   -   Skins

that's not a bug, thats an unexpected feature
08-15-2006 09:02 AM
Profile E-Mail PM Web Find Quote Report
markee
Veteran Member
*****

Avatar

Posts: 1622
Reputation: 50
36 / Male / Flag
Joined: Jan 2006
RE: Help: Sending File
you could use when Messagekind == 0 which is unknown.  The only problem with this is that it will do anything that isn't a specific message kind.  I'm not sure how else you could do it.  Or there is also the possibility that you can monitor the received files folder (you can get it's directory from a registry setting).
[Image: markee.png]
08-15-2006 09:03 AM
Profile PM Find Quote Report
saralk
Veteran Member
*****

Avatar

Posts: 2598
Reputation: 38
35 / Male / Flag
Joined: Feb 2003
O.P. RE: Help: Sending File
quote:
Originally posted by markee
you could use when Messagekind == 0 which is unknown.  The only problem with this is that it will do anything that isn't a specific message kind.  I'm not sure how else you could do it.  Or there is also the possibility that you can monitor the received files folder (you can get it's directory from a registry setting).

I tried that, no file transfers come up at all.

quote:
Originally posted by Dempsey
The only ways of detecting a file transfer is using Active Accesability or Protocol Sniffing.

How would you do that in JS?
The Artist Formerly Known As saralk
London · New York · Paris
Est. 1989
08-15-2006 01:37 PM
Profile PM Find Quote Report
Dempsey
Scripting Contest Winner
*****

Avatar
http://AdamDempsey.net

Posts: 2395
Reputation: 53
38 / Male / Flag
Joined: Jul 2003
RE: Help: Sending File
quote:
Originally posted by Dempsey
The only ways of detecting a file transfer is using Active Accesability or Protocol Sniffing.

How would you do that in JS?
Active accesability may be possible to use an event hook and AccessibleObjectFromWindow as you can from C++, but not sure.

For protocol sniffing, you should be able to use [Release] Xniff (ActiveX Packet Sniffer) - Examples inside
SoundPacks   -   Scripts   -   Skins

that's not a bug, thats an unexpected feature
08-15-2006 01:44 PM
Profile E-Mail PM Web 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