I want to capture the backspace event, just do the backspace\'s action, then add other action, but I am not sure the backspace\'s original action:Selection. Delete , -1 ?>
At last I try use autohotkey to solve this question,some code like down:
#IfWinActive,ahk_class OpusApp ;回车键 enter:: send {enter} checkStyle() return backspace:: send {backspace} checkStyle() return checkStyle(){ word:=ComObjActive("word.application") if(word.Selection.Style.NameLocal="ListItemStyle" and word.Selection.Range.ListFormat.ListString = "") { word.Selection.Style := "someStyle" TrayTip, hint, style chnaged, 3, 17 } }