I would like to create a "Move to New Instance" Button. I tryed with a macro and by editing the CustomizeToolbar.btn but it only shows error (I added the line "Move to New Instance,,,,icon.bmp").
Anyone who can help?
No one? :-(
I didn't use Customize toolbar plugin in a loooong time, but adding buttons with Python plugin works like a charm. Can you try with that one?
Thanks a lot! Ive looked into the Python scripting and its very interesting. But with all the samples I could not figure out how to use the ENUMS. There is this ENUM MENUCOMMAND.VIEW_LOAD_IN_NEW_INSTANCE but how to I use it on a tab?
create new script with Python plugin, and save this line into it.
Select to initialize on startup, and create a button. That should be all.
If you have problems with this, ask again.
It worked! Thanks that helped a lot! :-) :-)
Now just select dome nice icon, and you are done with it :-)
Thanks a lot! Here is the result. it checks if there are more then one tab open an loads the current tab in a new window and closes the original one. Plus Icon :-)
if len(filter(lambda item: item == notepad.getCurrentView(), notepad.getFiles())) > 1:
Nice to see it working.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.