Community
    • Login

    Couldn´t get a macro running

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 265 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.
    • blacksenatorB
      blacksenator
      last edited by

      Hallo,

      I often work with XML files. That’s why I installed the plugin XML Tools. So that I do not always have to take the same steps for better readability, I wanted to create a simple macro:

      start recording

      1. Select all -> Ctrl + A
      2. Linarize XML -> Ctrl + Alt + Shift + L
      3. Pretty print (XML only with line breaks) -> Ctrl + Alt + Shift + B
        end of the recording

      So far so good: the macro is recorded (name: pretty XML) and appears in the Macro Menu …
      … but if I want to test it: so open an unformatted XML and then select the entry in the macro menu, only the first step is executed, but not the following two steps.

      Who can help me here?

      Thx

      Black Senator

      1 Reply Last reply Reply Quote 0
      • EkopalypseE
        Ekopalypse
        last edited by

        Plugins are not really “macro-recordable” but may I ask you if this
        is really needed in your case?
        It looks to me that pressing Ctrl + Alt + Shift + B is enough to reformat the xml.

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