Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#257 EXTRACT /LASTKEY n/ Doesn't show nth to last key

Next Release
pending-fixed
Mark Hessling
None
5
2013-07-10
2007-11-24
LesK
No

When my macro tries to discover the last few keys pressed with:
EXTRACT /LASTKEY n/
it doesn't show the nth to last key, just the last one.

Discussion

<< < 1 2 (Page 2 of 2)
  • Mark Hessling
    Mark Hessling
    2013-07-03

    LASTKEYS 1 shows the last hit you hit, so if you ran the macro from the commandline it will be ENTER. Assuming you entered:
    macro bug257.the and pressed enter, the last 8 keys will be:
    ENTER, E, H, T, ., 7, 5, 2

    Try the attached macro. Remember the last 8 keys you pressed before the messages are displayed.

     
  • Mark Hessling
    Mark Hessling
    2013-07-03

    Macro attached

     
    Attachments
  • Mark/Les,

    Here's what I get from the macro with rc4.

    C-M 13 13 00000100
    7 55 55 00000000
    5 53 53 00000000
    2 50 50 00000000
    G 103 103 00000000
    U 117 117 00000000
    B 98 98 00000000
    C-M 13 13 00000100

    With 3.3rc2 I get:

    C-M 13 13 00000100
    C-M 13 13 00000100
    C-M 13 13 00000100
    C-M 13 13 00000100
    C-M 13 13 00000100
    C-M 13 13 00000100
    C-M 13 13 00000100
    C-M 13 13 00000100

     
  • LesK
    LesK
    2013-07-10

    George: Q LASTKEY is inappropriate, since the answer will probably
    always be ENTER, F-n etc.

    Try the attached, which Mark sent me.

    However, the 'n' limit should be documented. Looks like it's 8 and if
    you try to EXTRACT beyond that the 8th one just gets replicated.

     
    Attachments
<< < 1 2 (Page 2 of 2)