Many times macro's doesn't work if I use the shortcut code (the shorcut code indicated as well in the macro menu).
When I click on the macroname the macro works.
Other times I registred macro's and they were in the macromenu but after restarting NP++ they were not in the menu anymore.
So do I have a lot of these things.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The first thing I suggest you check is if the shortcut key is already assigned to a different function in the Shortcut Mapper. It's possible to set up duplicate shortcut keys, which causes problems similar to what you're experiencing.
Also check to see if your shortcuts.xml is read-only. If it can't write the macros to the .xml file, that might explain why it loses the settings after you restart Notepad++.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The macros in NP are a bit buggy I noted.
Many times macro's doesn't work if I use the shortcut code (the shorcut code indicated as well in the macro menu).
When I click on the macroname the macro works.
Other times I registred macro's and they were in the macromenu but after restarting NP++ they were not in the menu anymore.
So do I have a lot of these things.
oeps.. both.
Thank you. I'm happy to have found the solution of these problems :-)
A couple of ideas off the top off my head:
The first thing I suggest you check is if the shortcut key is already assigned to a different function in the Shortcut Mapper. It's possible to set up duplicate shortcut keys, which causes problems similar to what you're experiencing.
Also check to see if your shortcuts.xml is read-only. If it can't write the macros to the .xml file, that might explain why it loses the settings after you restart Notepad++.