Subj : Call Built-in Editor from Javascript
To : Blakdeth
From : Deuce
Date : Sun Jun 01 2008 01:13 pm
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?
Almost, and you can do it...
console.editfile() and system.temp_dir are a good place to start. Though I
don't see a function to generate a temporary filename, so you'll want to either
do that or put it in the node directory instead.
---
Synchronet - Jump on the Web 0.2 bandwagon!
---
� Synchronet � My Brand-New BBS (All the cool SysOps run STOCK!)