I was hoping to add this to macros so that the cursor would jump down to the command line before the rest of the macro kicks off. It would be handy in screens like WRKACTJOB.
I wrote a macro for when compiling programs to add options to the command line from PDM and you will also need to add a Field Exit to the macro so that it clears the data after the ending string. All you need to do is press the F9 key and this bring up the last command you entered and place the cursor at the first position. Since I was adding options to my macro I just typed them and then pressed Field Exit to clear any remaining characters from a prior command.
Try this and see if it works for you.
You can record macros in Vb or in ‘keystroke’ format – use the keystroke recorder and just step through whatever you want to do, including cursor movement.
Works a treat
I think Hafwhit’s got it. The trouble is you don’t always know where the cursor is going to be.
The F9 seems to put you there from where ever the cursor is at. Funny, I use F9 a bazillion times a day and it never occured to me.
Thanks Hafwhit, that was the Voodoo I needed.