Subj : msg_select_area To : art From : Digital Man Date : Tue Nov 10 2009 12:50 pm Re: msg_select_area By: art to All on Tue Nov 10 2009 06:50 pm > Hi all, > > In DEFAULT.SRC, there's the following: > > cmdkey J > msg_select_area > > How would I call msg_select_area in a .JS? I see previous threads on > calling Baja modules, but this is still unclear to me, if someone could > point me in the right direction please? There is no equivalent function in JavaScript, but here is a snippet from exec/classic_shell.js that does the same thing: case 'J': if(!msg_area.grp_list.length) continue main; while(1) { var orig_grp=bbs.curgrp; var i=0; var j=0; if(msg_area.grp_list.length>1) { if(file_exists(system.text_dir+"menu/grps.*")) bbs.menu("grps"); else { console.putmsg(bbs.text(CfgGrpLstHdr),P_SAVEATR); for(i=0; i