Alternative for dos_editbox?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm almost done (re)creating my multifile tool, but I came up with one more addition to it.
In short: I'm creating a tool allowing users to select drawings in various ways for processing.
Currently user can select a lisp file to be loaded with each drawing. This alone allows users to do virtually anything to a selection of drawings.
However, as lisp's can be auto loaded with each drawing, or a lisp is not always required, running a single command (or an entire batch) might be enough in many cases.
For this I wish to add the option to add commands (to a script) and run that with each drawing. For the edit-box I'm currently using the DOSLIB dos-editbox function (see picture), as it's the only one I can find to do the trick.
dos_editbox
I read a fixed script file (used by the function), feed it's content to the dos-editbox and upon close (by pressing OK) the (new) content will be saved to that same script file.
However, it comes with a few drawbacks.
- There is no 'clear' option.
- I'm missing an Export.../Save as... button. Would be nice to be able to export it to a file.
- The Import button defaults to .txt files, with all files (*.*) as an extra option. I'd love to add .scr and .lsp to the files...
...but the editbox is fixed when it comes to all that.
Does anybody here know of any alternative, that will do the same (allowing to edit a multiline string in a window (containing script and/or lisp code)), including the above mentioned extra options? (one that does not require another .arx or add-on prefered)
I've done some searching, but can't find any. So I don't think there is an alternative (& I'll have to settle for what it is now), but I've been proven wrong before here