I can't record macros.
-
I have v8.6.8 and 5 macros. Shortcuts.XML in Appdata has all five while the one from Program Files only has that so one that came with the app.
-
So you have those 5 macros in
%AppData%\Notepad++\shortcuts.xml
right now.Follow these steps to debug:
- Share your ?-menu’s Debug Info.
- You’ve been here enough to know that should have been in your first post.
- Check whether you have
Admin Mode: OFF
orON
- Check whether you have
Local Conf Mode: OFF
orON
- If Local is
ON
but Admin wasOFF
, then you aren’t using AppData, and my guess is that your normal account doesn’t have write permission to the installed-location’sshortcuts.xml
- Everything below assumes you are actually not in Local Config mode. (Assumption made, because you implied you actually have access to the 5 macros already in AppData)
- If Local is
- Record a new macro: start recording, type something, and stop recording
- Check if Macro > Save Recorded Macro should be available or disabled.
- If not, tell us this is the step that isn’t working for you.
- If so, congratulations, you have recorded the macro.
- However, I doubt this is what you meant, so continue debugging.
- Check if Macro > Save Recorded Macro should be available or disabled.
- Macro > Save Current Recorded Macro and give it a recognizable name:
- At this point, does it show up in the Macros menu?
- If not, tell us this is what’s actually not working.
- If so, then you have succesfully saved the macro; congratulations and continue forward.
- At this point, does it show up in the Macros menu?
- Write down the timestamp for
%AppData%\Notepad++\shortcuts.xml
– call this T3 - Exit Notepad++
- Write down the timestamp for
%AppData%\Notepad++\shortcuts.xml
– call this T5- If T5 is not newer than T3, then you likely don’t have write permission to your
shortcuts.xml
, and you will need to fix that
- If T5 is not newer than T3, then you likely don’t have write permission to your
- Run Notepad++
- Is your macro in Macros menu still?
- If not, tell us that this is where the problem is.
- If so, then congratulations, it’s working for you now.
- Share your ?-menu’s Debug Info.
-
For some reason today it works. I have restarted many times yesterday. Here is my debug info:
Notepad++ v8.6.8 (32-bit) Build time : Jun 4 2024 - 00:29:00 Path : C:\Program Files (x86)\Notepad++\notepad++.exe Command Line : Admin mode : OFF Local Conf mode : OFF Cloud Config : OFF Periodic Backup : ON OS Name : Windows 11 Home (64-bit) OS Version : 23H2 OS Build : 22631.4037 Current ANSI codepage : 1252 Plugins : FoldingLineHider (1.1) PythonScript (2)