×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
Dave Boettcher wrote:
Ok Buck, what can you do with scripts? Are they perhaps something like Rexx?
I sure hope so! So far, I haven't done too much with it but the example
has a script that stuffs the current date into an editor selection.
That's very promising to me because it indicates that I can manipulate
text inside the editor, which I used to do for things like generating
skeleton code from external DDS.
With the demise of ReXX, I was forced into writing a plug-in, which is
way too much like work. With this Javascript scripting it'll be much
more like ReXX. Edit, save, test. No compiles, no deploys, no
restarting the workbench, blech. Bless the plug-in developers who go
through that, but I'm just trying to hack quickie tools together.
Lately, I want not only regular expressions in my searches, I want them
in my replacements, too. For instance, I have a report in RPG that uses
level breaks. I need to add two levels. I'd really like a
macro/function/script that lets me select a block of text, copy it,
search all the L1 field names and indicators and replace them with L2.
For as many times as I want (i.e. L3, L4 and so on.) With my own
script, I can ignore the selection bit and let the script do all the
work, including ignoring the I specs. Oh the dreams...
--buck
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.