× 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.



Unlike CODE/400, where you had pretty much full control from your macros over the entire 'IDE' (namely, the editor window), WDSC's LPEX editor lives on top of Eclipse. Eclipse's menus (such as "Edit") are controlled through programming for Eclipse, which is an entirely different topic (and off-topic in this newsgroup)...

In this specific case, you could use the command version of the example (namely, SetDateAction.SetDate), to be run from the LPEX command line (as "setDate <newDate>"), or you could add the action to the editor pop-up menu (the TestUserProfile example does something similar).

John Larimer wrote:
Hello:

I was playing with the sample extensions the other day and I found one that
will zero the dates.

To see the list of examples, on the command line type 'help examples'.

The one in question is 'SetDateAction'.

The instructions are there on how to run this from the command line.

You have to select the lines you want to change first.

I'm just starting to try to figure out how to extend the editor (I use REXX
Macros in CODE/400).
So here is my question.... How would I make this extension available from
the edit menu?


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.