Community
    • Login

    Python Script toolbar button moves after execution

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    5 Posts 2 Posters 1.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.
    • deleeleeD Offline
      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 Offline
        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 Offline
          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 Offline
            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 Offline
              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

              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