Subj : weird js thing...? To : Esc From : Nightfox Date : Mon Sep 07 2009 07:39 pm Re: weird js thing...? By: Esc to Nightfox on Mon Sep 07 2009 18:35:20 > > > > > bbs.menu.baja("setstr *.*" + "\r\n" + "file_list"); > > > > > > To list files, try using this command instead: > > > bbs.list_files(); > > > > > Yeah, I suppose I could take a look at that ;) However, I got it to work > > issue was that windows 7 has ridiculous issues with letting programs laun > > other programs. As such, it wasn't allowing synchronet to launch baja.ex > > WinXP, it works just fine. Ah, interesting. Good to know you got it to work. By the way, your bbs.menu.baja command interested me, because I've also converted my command shell to JavaScript, but there was still one thing I had to keep in Baja: Letting the user configure their file scan pointer. The reason is that there doesn't seem to be an equivalent JavaScript function for that. What I did was, I made a Baja file that executes file_ptrs_cfg . If I could run a Baja function from within a JavaScript script, that would be nice, so that I wouldn't have to have a separate Baja script to do it. I tried using bbs.menu.baja, though, but bbs.menu.baja seems to be undefined. And there seems to be no mention of it in the Synchronet JavaScript documentation. Are you using it to run Baja code from within JavaScript? If so, could you point me to any documentation you used to describe how to do that? Nightfox --- þ Synchronet þ Digital Distortion BBS: digdist.bbsindex.com .