-
I wonder if there's a programatic way to invoke "Rename tab". My use case would be hiding part of the filename with timestamp (long suffix) or generally hiding patterns that match regular expression in order to have short and clean tab names. It's probably not available for scripts via API? Alternatively I was hoping to achive this result using find&replace on config file when FreePlane is off. It seems however that tab names are stored in Also, "Rename tab" is not present in Command search or within Menus. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
That's an interesting topic. There are still no methods in the public API to interact with the tab name. I tried to use the internal methods, with no success (but, in reality, I still don't understand how to use internal methods, in general). The only way that I've seen to actually have some interaction with the tab name is this script mentioned by Edo: #865 (comment) What I managed to do is to retrieve the name of the tab (assuming that you have the lib of infonode, as explained by Edo):
|
Beta Was this translation helpful? Give feedback.
-
Thanks @euu2021, that turned out to be really helpful :)
I saw this thread before and skimmed it but couldn't find answer to my issue. This this time I've also looked at linked pull request and found this very useful comment by @EdoFro
So indeed FreePlane API offers a method to change tab name! My observations with Freeplane 1.11.10:
This solves my issue. Thanks again! |
Beta Was this translation helpful? Give feedback.
Thanks @euu2021, that turned out to be really helpful :)
I saw this thread before and skimmed it but couldn't find answer to my issue. This this time I've also looked at linked pull request and found this very useful comment by @EdoFro
#1353 (comment)