sending files. - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4) +---- Forum: Scripting (/forumdisplay.php?fid=39) +----- Forum: Plug-Ins (/forumdisplay.php?fid=28) +------ Thread: sending files. (/showthread.php?tid=28726) sending files. by firedance on 07-15-2004 at 09:11 PM Well im making a plugin that needs to send a file and still do something after the file has been sent (it duznt have to be sent just the user got the invitation) I thought about the msn.sendfile but this didnt work coz it only shows or opens the window of the user. then i thought of using the plus thing but, then i need to return and then i cant do the thing after, anyone got an idea? RE: sending files. by (CyBeRDuDe) on 07-15-2004 at 10:01 PM
use the /dropfile command... and then if you wants to do more just use the # to split up and do more commands as it says in the Sample... that is if you use VB I don't know about the c/c++ side of this story but I guess that you can use the same plus commands... ... RE: sending files. by firedance on 07-15-2004 at 10:25 PM
hmm the # thing , is there a long delay between the commands entered? RE: sending files. by (CyBeRDuDe) on 07-15-2004 at 11:37 PM
you can do a delay, but it is limited to 1-9 secs. so this might not really be to much of a help... ... RE: sending files. by firedance on 07-16-2004 at 10:30 AM I dont want any delay , but i remembered that there was a delay between the sResult commands. I tryed the messenger api but it didnt send anything, just opened the window in wich to send. RE: sending files. by RaceProUK on 07-16-2004 at 02:56 PM
code:This should work (replace 'MSN' with the name of your variable). It will open the File dialog. If you want to process the return value, assign it to a MessengerWindow object. Find attached a .chm file that details the Messenger API for both C++ and VB. RE: sending files. by Mnjul on 07-16-2004 at 03:18 PM
quote:The default delay is 0.5 second - would you accept it? |