Python Script toolbar button moves after execution
-
Windows 10 Pro
Notepad++ v8.4.5
Customize Toolbar v5.3.3
Python Scrip v2Not 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?
-
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)
-
@PeterJones said in Python Script toolbar button moves after execution:
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.
-
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.
-
@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.