Subj : Call Built-in Editor from Javascript
To   : Digital Man
From : Blakdeth
Date : Mon Jun 02 2008 08:27 am


> > This might be wishful thinking, but is there a way to call
> > the SBBS built-in editor from a Javascript process? I
> > would love to have the abili to call the built-in editor
> > in much the same way one would call getstr. That is, you
> > would have the option of passing in text to edit, and then
> > t built-in editor would return the edited text as a string
> > to the calling process. Thoughts?
> You can use console.editfile() to edit or create a text file
> (see http://synchro.net/docs/jsobjs.html#console_methods for
> details) and then re that file into your script with
> File.readAll().

Thank you digital man and Deuce. I appreciate the input. I will give this a
try.

-bd
--
Blakdeth
Masquerade BBS // telnet://masqueradebbs.com
http://www.masqueradebbs.com // [email protected]


---
� Synchronet � Masquerade BBS - http://www.masqueradebbs.com