|
On 8/13/2014 1:08 PM, Robert Rogerson wrote:I'll look into autohotkey when I get the chance.
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/
Yes it does but only if you are in the RSE perspecitive or RSE view and the correct object is selected. In most cases, when I'm editting a member, I had opened it through an LMi filter in the RSE view so it remains selected. Otherwise I would have to manually select it.I'm on RDi 9.1. Currently I have an LPEX Editor User Key Action set toSo Alt-L brings up the Aldon menu, and J picks the Create Object option?
(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.
Thanks Buck, as I said I'll take a look at autohotkey when I have time. It sounds like this may do what I want.So my normal procedure is this. Make a program change in the editor.AHK seems to work for me. Win 7, RDI 9.1 Here's a script that does F1,
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.
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 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.