Question about Macros
-
Hi
need help:
i want to create a Macro, that’s copy a line of words into the clipboard and then closes npp automatically !
What I do: the copy sequence works fine - but how can i add a shortcut to close npp ?
I think i have to edit the “shortcuts.xml”-file and must add a line which closes npp.
Does anybody know the correct command - pls help
Bernd -
@Bernd-Roeckerath
I think i have to edit the “shortcuts.xml”-file and must add a line which closes npp.
Add the line to your save macro.
<Action type="2" message="0" wParam="41011" lParam="0" sParam=""/>
Note, I did not test what happens if you have unsaved data open while running
the macro - so better test or make sure it cannot corrupt important data.Cheers
Claudia -
Hi Claudia,
that works perfect !! many thx :-)
feedback: if you make changes before running the modified macro
npp asks if the changes should be saved.
best regards
Bernd