Shoutbox

Sent Files Extention - 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)
+----- Thread: Sent Files Extention (/showthread.php?tid=62196)

Sent Files Extention by craig2k5 on 07-01-2006 at 01:14 AM

hey, im planning on makin a scrppt (hopefully usefll) but im not gonna give away the idea just yet :)

what i would like to know is if there is anyway that i can find out an extention for  a file that has been sent over msn?

if you know how to do this please let me know.. thanks :)


RE: Sent Files Extention by [Shadow] on 07-01-2006 at 01:19 AM

Ehhm, when it's sent, it should have a file extention at the end of the name.. Like .zip, .rar, .iso, .mdf, .mds, Etc...


RE: Sent Files Extention by alexp2_ad on 07-01-2006 at 01:21 AM

code:
var dotarray = string.split('.')'
extension = dotarray[dotarray.length-1];
Should get everything after the final dot, which should be the extension.  Don't know if you can pick up the path for the file being sent, never tried.  But if you do, that'll get the extension from the path...
RE: Sent Files Extention by craig2k5 on 07-02-2006 at 07:00 PM

Thanks but :-" Were would you put this


RE: Sent Files Extention by rob_botch on 07-03-2006 at 09:45 AM

I think that getting the information about sent files has been temporarily disabled in the scripting interface.