Community
    • Login

    paragraph line break

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    33 Posts 5 Posters 10.0k Views 2 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.
    • EkopalypseE Offline
      Ekopalypse
      last edited by

      You can test if the command has been successfully sent if you
      execute it via the console like I did in the first screenshot.
      It has to return true. If false appears then something is wrong with your command.

      1 Reply Last reply Reply Quote 0
      • kracovwolfK Offline
        kracovwolf
        last edited by

        i created the macro codes now what? use the run command but what program?

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

          @kracovwolf
          You use notepad++. Goto Plugins->PythonScript->Scripts
          and click your python script.

          1 Reply Last reply Reply Quote 0
          • kracovwolfK Offline
            kracovwolf
            last edited by

            nothing happened, nothing in console except the Ready message

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

              @kracovwolf
              What should the macros do?

              1 Reply Last reply Reply Quote 0
              • kracovwolfK Offline
                kracovwolf
                last edited by

                they all change spelling errors and remove junk in subtitle files. i double checked the macro names, cases are fine, spaces too.

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

                  @kracovwolf

                  run one command in the console and see what it returns.

                  1 Reply Last reply Reply Quote 0
                  • kracovwolfK Offline
                    kracovwolf
                    last edited by

                    it says false.
                    notepad.runMenuCommand(‘Run’, ‘Subtitle All’)
                    that is the exact name of one macro

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

                      @kracovwolf said in paragraph line break:

                      notepad.runMenuCommand('Macro', 'Subtitle All')
                      
                      1 Reply Last reply Reply Quote 1
                      • kracovwolfK Offline
                        kracovwolf
                        last edited by

                        woo hoo it works. thanks.

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

                          @kracovwolf

                          Great - now I can go to bed, already 1:30 here. Good night

                          1 Reply Last reply Reply Quote 3
                          • Alan KilbornA Offline
                            Alan Kilborn
                            last edited by

                            Wow. Wow. At least it ended with success. :-)

                            1 Reply Last reply Reply Quote 1
                            • kracovwolfK Offline
                              kracovwolf
                              last edited by

                              do you know if the macros are stored in notepads settings? i might need to copy everything to another computer

                              astrosofistaA PeterJonesP 2 Replies Last reply Reply Quote 0
                              • astrosofistaA Offline
                                astrosofista @kracovwolf
                                last edited by

                                Hi @kracovwolf

                                Yes, macros are stored in shortcuts.xml, which in my configuration is located here C:\Users\<username>\AppData\Roaming\Notepad++\shortcuts.xml.

                                Have fun!

                                1 Reply Last reply Reply Quote 2
                                • PeterJonesP Offline
                                  PeterJones @kracovwolf
                                  last edited by

                                  @kracovwolf said in paragraph line break:

                                  do you know if the macros are stored in notepads settings

                                  This and other such questions are answered in the npp-user-manual.org website, which is linked inside Notepad++ as the ? menu’s Notepad++ Online Document entry.

                                  • The location of config files is described in https://npp-user-manual.org/docs/config-files/
                                    • The macros section of shortcuts.xml is described at https://npp-user-manual.org/docs/config-files/#macros
                                  • The overview of macros is found at https://npp-user-manual.org/docs/macros/
                                  1 Reply Last reply Reply Quote 4

                                  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