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



+1 for mourning the loss of Rexx macros. In my last job we developed
maybe a hundred of them. We got to the point where a macro would ask you
a couple questions and then build a maintenance screen and program for
you. For a while IBM were hinting strongly (when cornered at Common)
that they would provide a way to convert Rexx macros to User Actions in
RDP, but sadly there didn't seem to be enough demand to warrant it.

Trevor Briggs
Analyst/Programmer
Lincare, Inc.
(727) 431-1246
TBriggs2@xxxxxxxxxxx
-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx]
On Behalf Of Buck Calabro
Sent: Wednesday, August 14, 2013 10:14 AM
To: wdsci-l@xxxxxxxxxxxx
Subject: Re: [WDSCI-L] User Key Actions - RDi 9.0

On 8/14/2013 8:46 AM, Hammack, Ted wrote:
I've found that the only way I can get user key actions to do anything
is when I check the box to Disable Parsing (in the main LPEX Editor
panel under preferences). Seems that I shouldn't have to do this
though,
you would think that the user should be able to customize their
keyboard
whether parsing is set on or off (and I need to keep it on, I loose a
whole bunch of features when parsing is disabled).

Hi Ted!
I have 3 user key actions that I use pretty much every day, and I have
Parsing turned on.

a-s splitAndShift
a-s-s split
c-a-f findSelection

When I am able to get newline to work on my enter key (again, with
parsing disabled), it doesn't go to the leftmost position of the
prefix
area. It only goes to the leftmost position of the non-prefix (edit)
area. The goal was to get my cursor to the area where I can enter a
prefix command, using a single keystroke. Seems like at this point, I
would need to somehow create a keyboard macro that does both Newline
and
PrefixHome, but I don't know how to set this up in RDi.

Anyone out there have a solution for this?

prefixHome only works if the cursor is already in the prefix area. It
won't move the cursor from the editing area to the prefix area. You can
test it out by opening up a source member, enter a C spec, press Escape
to get to the command line and try the command 'action prefixHome'
(without the quotes). Press Escape to get back to the editing area and
you'll see the cursor is in the same place.

Now try 'action newLine' and see what happens. The cursor moves down
one line and to the beginning of the text on that line.

Now try these commands one after the other. That is, press Escape, do
both actions, then press Escape to get back to editing. 'action home'
'action left'. The cursor should be in the prefix area. So what you
need is a sequence of actions strung together. Unfortunately, you can't
do that with the User Key Commands dialogue; only one action can be
assigned to a given key.

You could create a User Action with Java, but I haven't done that yet.
The last time I did this sort of thing, it was in Rexx on Code/400.
This is where I chime in about how much I miss Rexx macros.

This probably doesn't help much, but that's where we are. Maybe you
could open an RFE to allow simple strings of editor actions to be strung
together under a single keystroke.
--buck




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.