Community
    • Login

    Location of Macros

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    macros
    3 Posts 2 Posters 4.9k 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.
    • James A WilsonJ
      James A Wilson
      last edited by

      Long time user of NP++. I recently had to replace my computer. I was fortunate in that the SSD was still OK. I bought a new PC and installed the old SSD as a secondary drive in the new PC.

      One feature I used extensively on NP++ is Macros. Where would I find the Macros on the old SSD and transfer them to the new SSD? Is that possible?

      jdadwilson

      Terry RT 1 Reply Last reply Reply Quote 0
      • Terry RT
        Terry R @James A Wilson
        last edited by Terry R

        @James-A-Wilson said in Location of Macros:

        Where would I find the Macros on the old SSD and transfer them to the new SSD? Is that possible?

        It certainly is possible. We normally say open File Explorer and then type %appdata%\Notepad++, then look for the shortcuts.xml file. however in your case the %appdata% will not expand to the old SSD, it will open the new installation location. However this is where the shortcuts.xml file and other config files are normally stored (if not running in Admin mode).

        So for the old SSD you will go to the root folder, look for users folder, then drill down through the account name you used. At this point you will not see the hidden folder, but you can type on the end of the path \appdata. Then depending on how your Windows installation was setup (on the old SSD) look for the Notepad++ folder which will be a couple of levels below your current folder.

        Of course, if running in Admin mode it changes the location the macro is stored. So another location to check is under the old installation folder, so either Program Files or Program Files (x86), look for the Notepad++ folder and find the shortcuts.xml file there.

        You can easily copy the Macro section from this file and insert into the new installation file of the same name. You may possibly want to keep the new installation file backed up in case you find you have edited the file incorrectly.

        Terry

        1 Reply Last reply Reply Quote 3
        • James A WilsonJ
          James A Wilson
          last edited by

          Terry… Thanks ever so much. It worked perfectly!!!

          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors