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



On 8/13/2014 1:08 PM, Robert Rogerson wrote:
I'm not sure how to word this so I couldn't find any help in the archives.

It sounds like you want to be able to write a script that will emulate
keyboard presses. I like AutoHotKey for chores like this:
http://www.autohotkey.com/

I'm on RDi 9.1. Currently I have an LPEX Editor User Key Action set to
(s-c-b) for block fill. I want to create a key combination similar to
the User Key Action for a menu option combination.

I have a menu option (Aldon LM - Create Object (System i compile)) which
I use all the time. The shortcut key combination is a-l-j. But this
only works in the rse perspective or view.

So Alt-L brings up the Aldon menu, and J picks the Create Object option?

So my normal procedure is this. Make a program change in the editor.
c-s to save the member (this step is not necessary but I do it as force
of habit). c-f7 (this may be multiple times) to change to the rse
view. a-l-j to compile the program.

I'm wondering how I would go about putting these three steps into just
one key combination (similar to the normal compile s-c-c or the User Key
Action). I'm not even sure if I can do it but I thought I'd ask.

AHK seems to work for me. Win 7, RDI 9.1 Here's a script that does F1,
Save, Compile. The 'compile' bit is Alt-G > Right > Enter. I did that
just to see how to manipulate bits of a menu. I assigned it to hotkey
Ctrl-Alt-` (backtick - left of the numbers on the top of the keyboard)

^!`::Send {F12}^s!g{Right}{Enter}

--buck

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.