Changes between Initial Version and Version 1 of Ticket #31


Ignore:
Timestamp:
Jun 29, 2021, 12:24:07 PM (3 years ago)
Author:
Andreas Schnellbacher
Comment:

This is a regression of moving from WM_CHAR to accelerator keys to allow for more key defs and to ease making them. The involved statements, procs and cmds never supported them. They work only with WM_CHAR keys.

Since the NEPMD change to accel keys, WM_CHAR keys are only used for single keys (and internally for those virtual keys that are on the keypad). I've overlooked that executekey etc. works also for virtual WM_CHAR keys. BTW: There exist DoKey and LoopKey, too. They all use executekey. Most likely I should also add a replacement for the lastkey statement.

Until this will be fixed, use a simple change:

epm.exe "somefile.cod" 'mc /postme 1234 /postme MarkLine'

BTW: If you want to mark several lines, use the DoCmd command and move the cursor down:

epm.exe "somefile.cod" 'mc /postme 1234 /postme MarkLine /postme DoCmd 2 Down /postme MarkLine'

or easier:

epm.exe "somefile.cod" 'postme mc /1234 /MarkLine /DoCmd 2 Down /MarkLine'

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31

    • Property Owner set to Andreas Schnellbacher
    • Property Status changed from new to accepted
  • Ticket #31 – Description

    initial v1  
    33I use this to open file "somefile.cod", select line 1234 and mark the line:
    44
     5{{{
    56epm.exe "somefile.cod" 'mc /postme 1234 /postme key 1 a+l'
     7}}}
    68
    79This works fine with the original epm.exe but fails with nepmd. I'd prefer if nepmd supported all the original epm commands as they were specified to work.