Community
    • Login

    Who is responsible for viewing and claiming users suggestions ?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    43 Posts 4 Posters 59.0k 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.
    • Claudia FrankC
      Claudia Frank @John Spark
      last edited by

      No, I meant something different.
      We save the console option in a different profile like here

      npe_console v- m- a+
      cls
      npp_console off
      

      save it, and assign it to be started when npp starts like here

      Which means your actual python execution profile should then
      be changed to

      python "$(FULL_CURRENT_PATH)"
      

      like here.

      That’s it. Everytime you start npp the assigned startup script sets your console parameters.
      When pressing (SHIFT +) F6 it will execute python and console is visible again.

      Cheers
      Claudia

      1 Reply Last reply Reply Quote 0
      • John SparkJ
        John Spark
        last edited by

        I have read your post five times. I explored everything in npp exec settings and stuff.
        I don’t know where do I have to put this:
        python “$(FULL_CURRENT_PATH)”

        In ‘Execute’ window you can’t have two separate scripts or commands. Once I save those three line commands and make it execute on NP++ start, there is no option where may I put line above.

        Thanks

        1 Reply Last reply Reply Quote 0
        • John SparkJ
          John Spark
          last edited by John Spark

          I have done this:
          this commands I saved to profile A and run on start:
          npe_console v- m- a+
          cls
          npp_console off

          this I saved as profile B and supposed to be run with F6:
          python “$(FULL_CURRENT_PATH)”

          But I cannot see what is executing, because on start I have still console appeared and by presssing F6 code is exexuting, but still no history. And also on start code get executed without F6.
          I’m not sure which profile it’s executing by F6, it’s not possible to check it anyhow.

          If you may install other NP++ instance and try it, you will get same result.

          Thanks

          Claudia FrankC 2 Replies Last reply Reply Quote 0
          • Claudia FrankC
            Claudia Frank @John Spark
            last edited by

            @John-Spark said:

            I have done this:
            this commands I saved to profile A and run on start:
            npe_console v- m- a+
            cls
            npp_console off

            ok

            this I saved as profile B and supposed to be run with F6:
            python “$(FULL_CURRENT_PATH)”

            ok

            But I cannot see what is executing, because on start I have still console appeared and by presssing F6 code is exexuting, but still no history. And also on start code get executed without F6.
            I’m not sure which profile it’s executing by F6, it’s not possible to check it anyhow.

            If you may install other NP++ instance and try it, you will get same result.

            Thanks

            of course not ok, I will try it with a new installed npp and see if this is a bug.
            I will come back on this.

            Claudia

            1 Reply Last reply Reply Quote 0
            • Claudia FrankC
              Claudia Frank @John Spark
              last edited by Claudia Frank

              @John-Spark
              it works exactly as I described.
              Are you sure you have used

              npp_console off
              

              and NOT

              npe_console off
              

              ?
              If so,

              please post the content of the following two files

              ...\plugins\Config\npes_saved.txt
              

              and

              ...\plugins\Config\NppExec.ini
              

              Claudia

              1 Reply Last reply Reply Quote 0
              • John SparkJ
                John Spark
                last edited by

                I apologise. I used wrong npe instead of correct npp.
                However, now when I press F6, all happend so fast as blink of an eye.
                Console get closed as it gets executed I assume, so I can’t even see a result.
                Also I don’t want get closed console after it executes.

                Thanks and sorry again

                Claudia FrankC 1 Reply Last reply Reply Quote 0
                • Claudia FrankC
                  Claudia Frank @John Spark
                  last edited by

                  @John-Spark

                  do you remember what we said, you need to run the execute dialog everytime you start npp for the first time and only one time.
                  Every subsequent call can be executed by the direct execution function. As far as I remember you switched the normal keys
                  F6 and SHIFT+F6, didn’t you? So, press SHIFT+F6 what happens?

                  Claudia

                  1 Reply Last reply Reply Quote 0
                  • John SparkJ
                    John Spark
                    last edited by

                    Yes yes I remember. It did that flash and every other press. Like there is no differention between first press and others. This seems buggy for real.
                    Here is nppexec.ini
                    http://i.imgur.com/zUrpp9z.png
                    Here is npsaved
                    http://i.imgur.com/ih6Ajlk.png

                    Thanks

                    Claudia FrankC 2 Replies Last reply Reply Quote 0
                    • Claudia FrankC
                      Claudia Frank @John Spark
                      last edited by

                      @John-Spark

                      and please shortcuts.xml as well.

                      Claudia

                      1 Reply Last reply Reply Quote 0
                      • Claudia FrankC
                        Claudia Frank @John Spark
                        last edited by

                        @John-Spark
                        your npes_saved.txt is wrong.
                        Why don’t you not just simply copy and past my example?
                        It must look like this

                        ::NppExec Console Settings
                        npe_console v- m- a+
                        cls
                        npp_console off
                        ::Python
                        python "$(FULL_CURRENT_PATH)"
                        

                        do you see the difference?

                        Claudia

                        1 Reply Last reply Reply Quote 0
                        • John SparkJ
                          John Spark
                          last edited by John Spark

                          I’m confused now.
                          I did:

                          • closed NP++
                          • opened npes_saved.txt
                          • pasted copied text from your post above
                          • saved
                            -turn on NP++
                            and I saw this:
                            http://i.imgur.com/MbqHAje.png

                          that txt file looks now:
                          http://i.imgur.com/U6jdALs.png

                          shortcut file from program files: http://i.imgur.com/dWTlB1p.png
                          shortcut file from user’s appdata folder: http://i.imgur.com/iBRgDYl.png

                          Claudia FrankC 1 Reply Last reply Reply Quote 0
                          • Claudia FrankC
                            Claudia Frank @John Spark
                            last edited by Claudia Frank

                            @John-Spark

                            look like means, as far as I know, it is similar but not equal.
                            You, of course need to adapt it to your needs.
                            I called my startup script NppExec Console Settings,
                            whereas you called it claudia commands.
                            That’s why NppExec cannot find the entry point to execute the commands
                            on startup, therefore the error.
                            You either have to change the label back to claudia commands or
                            change in NppExec.ini the ScriptNppStart to

                            ScriptNppStart="NppExec Console Settings"
                            

                            Claudia

                            Btw. shortcuts.xml looks ok

                            1 Reply Last reply Reply Quote 0
                            • John SparkJ
                              John Spark
                              last edited by

                              Oh yes, what a fail of me.
                              I changed it to claudia commands in .txt file.
                              Now run NP++ and there is again that situation:

                              • console is not loaded - which is ok
                              • I press F6 - nothing prompted, just eyeblink time flash something
                              • repeated press, same thing
                              Claudia FrankC 1 Reply Last reply Reply Quote 0
                              • Claudia FrankC
                                Claudia Frank @John Spark
                                last edited by

                                @John-Spark

                                you started npp and pressed F6? Not SHIFT F6?

                                Claudia

                                1 Reply Last reply Reply Quote 0
                                • John SparkJ
                                  John Spark
                                  last edited by

                                  correct

                                  Claudia FrankC 2 Replies Last reply Reply Quote 0
                                  • Claudia FrankC
                                    Claudia Frank @John Spark
                                    last edited by

                                    @John-Spark
                                    but after start of npp you should press SHIFT+F6

                                    Claudia

                                    1 Reply Last reply Reply Quote 0
                                    • Claudia FrankC
                                      Claudia Frank @John Spark
                                      last edited by

                                      @John-Spark
                                      I double checked the shortcuts.xml
                                      After start of npp you need to press CTRL+F6

                                      Claudia

                                      1 Reply Last reply Reply Quote 0
                                      • John SparkJ
                                        John Spark
                                        last edited by

                                        Oh my Lord. There is difference between F6 and Ctrl+F6 ?
                                        I thought, it’s just prompting screen.
                                        It works now. On start Imust ctrl+f6.

                                        This is, how you meant it from beginning + is this best way closest to one key press as I need ? Anything better can’t be made right now ?

                                        MANY THANKS FOR YOUR PATIENCE AND TIME AND EFFORT. I OWE YOU !

                                        Claudia FrankC 1 Reply Last reply Reply Quote 0
                                        • Claudia FrankC
                                          Claudia Frank @John Spark
                                          last edited by

                                          @John-Spark

                                          yes, that’s the closest we can get, First time it must run the execute dialog.
                                          Glad to see that we’ve done it.

                                          What’s next?
                                          If there is one, please open a new thread this one is getting to big.

                                          Claudia

                                          1 Reply Last reply Reply Quote 0
                                          • John SparkJ
                                            John Spark
                                            last edited by

                                            In this last post I would like to just summarize what was this all about.
                                            Two suggestions:

                                            #1, Ability to delete Auto-Inserted (Auto-Completion Preferences menu) half of dual symbol (parenthesis, brackets, curly braces, quotas…) by pressing Backspace. It means to remove whole double symbol by deleting it’s first half wrote manually in origin.

                                            #2, Ability to delete Tabbed whitespaces (by pressing Backspace), transformed to regular spaces due to Tab Settings in Preferences; in sense of one Backspace = one deleted tabbed whitespace. It means not x-times pressed Backspace to delete one tabbed whitespace.

                                            I know I may look like as incompetent total stupider after this whole topic, but my suggestions aren’t stupid. Thanks devs for considerating it.

                                            Bye all

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