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



Matt,

Your scenario below is what I find as well. The option to Create an object is only available (reliably) from rse. Even if another member is opened in Lpex it will be the member that is highlighted in rse which will be created.

Rob
On 8/14/2014 4:10 PM, Tyler, Matt wrote:
This kind of key sequence did not work for me with Aldon.

I opened a member in LPEX, switched back to RSE highlighted another
member, switched to LPEX (press F12), press F10, press 'R' (no hotkey
for my Aldon menu), the press 'J' to initiate the Aldon Create Object
action. I ended up compiling the RSE highlighted member not the member
open for edit. There were other situations when the Aldon menu would
not allow me to select the Create Object option. I came to the
conclusion that the last view I had to be in before being in LPEX view
was RSE. Any other view de-activated the Create Object menu option.

So a keystroke recorder / play back seems like a good idea but I can see
how it will work properly.

I tried to pass just the Task name to the ACMSCREATE command but it
wants the IDLIB() parameter filled out.
So I tried to use replacement variables for the command. This simple
command compiles, ACMSCREATE OBJ((*PGM (TST50ARG))) IDLIB(DEVOBJ). This
did not work because I cannot pass it the object type from the compile
menu and I do not know how to force in a IDLIB value.


When I had more time I was going to use a query I wrote that reads the
Aldon database to find out what environment an object was in and expand
it to find all the appropriate data that is needed on the ACMSCREATE
command but...



Thanks, Matt


-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Buck
Calabro
Sent: Thursday, August 14, 2014 11:47 AM
To: wdsci-l@xxxxxxxxxxxx
Subject: Re: [WDSCI-L] Short cut keys for a menu option...

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
--
This is the Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries (WDSCI-L) mailing list To post a message
email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list
options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/wdsci-l.


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.