Community
    • Login

    Macro with Encoding... Char Sets... OEM-US Does Nothing

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 487 Views 1 Watching
    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.
    • TheSimArchitectT Offline
      TheSimArchitect
      last edited by

      Hi! I recorded a macro to change the Character Set used to OEM-US so I don’t have to navigate the menu each time I am editing a file with such encoding, but the macro does nothing.

      This is the macro recorded inside the file shortcuts.xml:

          <Macros>
              <Macro name="OEM US" Ctrl="no" Alt="no" Shift="no" Key="0">
                  <Action type="0" message="2422" wParam="0" lParam="0" sParam="" />
                  <Action type="0" message="2325" wParam="0" lParam="0" sParam="" />
                  <Action type="0" message="2422" wParam="0" lParam="0" sParam="" />
                  <Action type="0" message="2325" wParam="0" lParam="0" sParam="" />
              </Macro>
          </Macros>
      
      

      Does anybody know what could be wrong? I didn’t associate a shortcut because I am happy to run it by clicking on Macro… OEM US.

      I don’t want to change the default encoding. I use Code Page 437 only when editing batch scripts. Thanks for any idea, even being able to bookmark that option would be good too, so I don’t have to spend half minute each time I open a file, it’s ok for a single file but not when you have a dozen!

      Alan KilbornA 1 Reply Last reply Reply Quote 0
      • Alan KilbornA Offline
        Alan Kilborn @TheSimArchitect
        last edited by Alan Kilborn

        @TheSimArchitect

        Maybe try:

                <Macro name="OEM US" Ctrl="no" Alt="no" Shift="no" Key="0">
                    <Action type="2" message="0" wParam="45044" lParam="0" sParam="" />
                </Macro>
        
        1 Reply Last reply Reply Quote 1

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors