Re: msgbase.get_msg_headerã By: datavase to All on Fri Mar 26 2010 09:50 amãã >ã > I'm writing an .js with the aim of exporting mesage areas to a PHP forumã > based.ã > On my .js I have:ã >ã > var msg_header = msgbase.get_msg_header(6);ã > console.print("\r\n\1n"+msg_header);ã >ã > Instead of the header of the message 6, what I get on the screen is:ã > [object MsgHeader]ã >ã > Please, could somebody point me to the right direction? What I'm doingã > wrong? Thanks a lot.ããmsg_header is an object. To view the properties of an object, you need toãreference them (like msg_header.from). Seeã
http://synchro.net/docs/jsobjs.html#MsgBase_methods save_msg() method for aãcomplete list of header fields (properties). You can also enumerate through theãproperties and display them all using code such as:ããfor (p in msg_header)ã print(p +'='+ msg_header[p]);ããAnd see the examples .js files in your exec dir.ãã digital manããSnapple "Real Fact" #148:ãThe tallest man was 8 ft. 11 in. ã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã