Subj : Call Built-in Editor from Javascript
To   : Blakdeth
From : Digital Man
Date : Sun Jun 01 2008 11:50 am

 Re: Call Built-in Editor from Javascript
 By: Blakdeth to All on Sun Jun 01 2008 10:07 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 ability
> 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 the
> 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 read
that file into your script with File.readAll().

                                      digital man (xbox-live: digitlman)

Snapple "Real Fact" #107:
You burn more calories sleeping than watching TV.
Norco, CA WX: 64.2�F, 67% humidity, 0 mph SE wind, 0.00 inches rain/24hrs

---
� Synchronet � Vertrauen � Home of Synchronet � telnet://vert.synchro.net