Community
    • Login

    I can't record macros.

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 275 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Luis Piña IIIL
      Luis Piña III
      last edited by

      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.

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones @Luis Piña III
        last edited by

        @Luis-Piña-III ,

        So you have those 5 macros in %AppData%\Notepad++\shortcuts.xml right now.

        Follow these steps to debug:

        1. 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 or ON
          • Check whether you have Local Conf Mode: OFF or ON
            • If Local is ON but Admin was OFF, then you aren’t using AppData, and my guess is that your normal account doesn’t have write permission to the installed-location’s shortcuts.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)
        2. 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.
        3. 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.
        4. Write down the timestamp for %AppData%\Notepad++\shortcuts.xml – call this T3
        5. Exit Notepad++
        6. 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
        7. Run Notepad++
        8. 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.
        1 Reply Last reply Reply Quote 2
        • Luis Piña IIIL
          Luis Piña III
          last edited by

          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)
          
          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors