Community
    • Login

    Python Script toolbar button moves after execution

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    5 Posts 2 Posters 516 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.
    • deleeleeD
      deleelee
      last edited by

      Windows 10 Pro
      Notepad++ v8.4.5
      Customize Toolbar v5.3.3
      Python Scrip v2

      Not sure if this a problem with Npp, or one of the plugins. I have a custom toolbar button for a script created using the Python Script plugin. Whenever I use the button, the next time I start Npp, the button has moved to the end of the toolbar. Anyone know why this is happening?

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones @deleelee
        last edited by

        @deleelee ,

        Are you using the PythonScript’s Configuration > Toolbar Icon or CustomizeToolbar’s config file to setup the icon?

        When I use CustomizeToolbar to call a PythonScript script, I’ve never seen its icon move unexpectedly.

        It’s been a while since I’ve tried to do a PythonScript icon through its own interface, because I found that CustomizeToolbar did a better job. And it may be that the two interfere with each other if they are both trying to add icons.

        (BTW: is “Customize Toolbar v5.3.3” just a typo? Because the most recent I can find is v5.3)

        deleeleeD 1 Reply Last reply Reply Quote 1
        • deleeleeD
          deleelee @PeterJones
          last edited by

          @PeterJones said in Python Script toolbar button moves after execution:

          @deleelee ,

          Are you using the PythonScript’s Configuration > Toolbar Icon or CustomizeToolbar’s config file to setup the icon?

          I used the CustomizeToolbar config file. I did one through Python Script configuration but it doesn’t name the button the same as the script - it’s just “Python Script 1” which I think is a bit silly because I could see it being problematic if several buttons were created.

          (BTW: is “Customize Toolbar v5.3.3” just a typo? Because the most recent I can find is v5.3)

          Oh geez, yes it’s a typo. I’d edit my post if it was possible but, of course, there’s the 5 minute limit and that’s well and truly passed.

          PeterJonesP 1 Reply Last reply Reply Quote 0
          • PeterJonesP
            PeterJones @deleelee
            last edited by

            @deleelee ,

            Okay. Unfortunately, in all my years of using the Customize Toolbar plugin to run PythonScript scripts from the toolbar, I have never had the toolbar icon unexpectedly move on me. So I don’t know what it might be.

            Maybe another user will have seen something like that.

            Sorry.

            deleeleeD 1 Reply Last reply Reply Quote 0
            • deleeleeD
              deleelee @PeterJones
              last edited by

              @PeterJones said in Python Script toolbar button moves after execution:

              So I don’t know what it might be.

              Ok, thanks anyway Peter. Always appreciate your input. Hopefully someone will know what’s causing it.

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