• Login
Community
  • Login

Python Script toolbar button moves after execution

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
5 Posts 2 Posters 517 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.
  • D
    deleelee
    last edited by Sep 11, 2022, 9:30 PM

    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?

    P 1 Reply Last reply Sep 12, 2022, 3:33 PM Reply Quote 0
    • P
      PeterJones @deleelee
      last edited by Sep 12, 2022, 3:33 PM

      @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)

      D 1 Reply Last reply Sep 13, 2022, 10:11 AM Reply Quote 1
      • D
        deleelee @PeterJones
        last edited by Sep 13, 2022, 10:11 AM

        @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.

        P 1 Reply Last reply Sep 13, 2022, 1:09 PM Reply Quote 0
        • P
          PeterJones @deleelee
          last edited by Sep 13, 2022, 1:09 PM

          @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.

          D 1 Reply Last reply Sep 14, 2022, 3:04 AM Reply Quote 0
          • D
            deleelee @PeterJones
            last edited by Sep 14, 2022, 3:04 AM

            @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
            1 out of 5
            • First post
              1/5
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors