WPCubed Product Support

AfterCompleteWordEvent and Enter key

Hi again,

When the AfterCompleteWordEvent fires after hitting Enter, the CPWord variable is null. Is there a way to keep the last word typed before Enter is pressed in CPWord ?

Bill

#1 ♥ 0
3.3k Views 2 users read 1 min
support

Hi,

CPWord reads the characters at the cursor position. After Enter you are in tne next line.

You can of course access ActiveParagraph directly to read the context and the text before. This would be necessary if you want to start your macro after Enter.

Julian

#2 ♥ 0
This category is archived. No new posts are possible.