Code: Select all
RShift & Enter::
ControlGet, outputVar, Selected,, Scintilla1, ahk_class Notepad++
MsgBox, Value Is: %outputVar%
Output: 1+1e
<begin selection>1+1<end selection>
and in notepad++ try two different scenarios
Output: +1é
<begin selection>1+1<end selection>