Notepad++ Macro doesn't process down button -
i have written notepad++ macro convert sql query vb string paste vb code.
the principal press ctrl
+ shift
+ e
, macro should convert sql line select b
"select b" & vbcrlf & _
, cursor should move next line.
this macro looks like:
<macro name="vb script" ctrl="yes" alt="no" shift="yes" key="69"> <action type="0" message="2453" wparam="0" lparam="0" sparam="" /> <action type="1" message="2170" wparam="0" lparam="0" sparam='"' /> <action type="0" message="2451" wparam="0" lparam="0" sparam="" /> <action type="1" message="2170" wparam="0" lparam="0" sparam='"' /> <action type="1" message="2170" wparam="0" lparam="0" sparam=" " /> <action type="1" message="2170" wparam="0" lparam="0" sparam="&" /> <action type="1" message="2170" wparam="0" lparam="0" sparam=" " /> <action type="1" message="2170" wparam="0" lparam="0" sparam="v" /> <action type="1" message="2170" wparam="0" lparam="0" sparam="b" /> <action type="1" message="2170" wparam="0" lparam="0" sparam="c" /> <action type="1" message="2170" wparam="0" lparam="0" sparam="r" /> <action type="1" message="2170" wparam="0" lparam="0" sparam="l" /> <action type="1" message="2170" wparam="0" lparam="0" sparam="f" /> <action type="1" message="2170" wparam="0" lparam="0" sparam=" " /> <action type="1" message="2170" wparam="0" lparam="0" sparam="&" /> <action type="1" message="2170" wparam="0" lparam="0" sparam=" " /> <action type="1" message="2170" wparam="0" lparam="0" sparam="_" /> <action type="0" message="2300" wparam="0" lparam="0" sparam="" /> </macro>
i have checked few different ways , determined line move cursor 1 line down:
<action type="0" message="2300" wparam="0" lparam="0" sparam="" />
the problem on first line executes entire macro , moves 1 line down. line after doesn't move down line.
turning off auto complete resolve issue.
to turn off auto complete follow instructions here:
it appear though notepad++ stops execution of macro when auto complete menu pops up.
ie: macro executes code adding letters correctly. when needs activate down arrow
key still executes code, on dropdown pops opposed line cursor located.
Comments
Post a Comment