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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login