![]() by length: Change "it.text" to "it.text.length()".find all nodes, collect their lastModifiedAt date and get the latestĭef lastModifiedAt = c.findAll().collect ![]() format() is a free method of the Groovy script base class FreeplaneScriptBaseClass. This script sets the text of the status bar to the last modification timestamp of the whole map. A node with the last modification date of the map Scripts that might need a review before they are added here can be found in the Script incubator.įor larger scripts there is a special git repository.Scripts that use external libraries have their separate page, too.Scripts for text editing have been hived off to a separate page.If you find such scripts do a post in the forum. when scripting idioms evolve over time old scripts should be upgraded. Unfortunately scripts might get old over time, i.e. With one exception ("Sum up all subnodes.", a very long script) I have ported all scripts from the FreeMind page, regardless of how useful I found them since I believe that you will be able to learn from all of them. But I took the freedom to improve every script where it made sense. Some of those scripts got a general rewrite - especially those that were marked buggy or even broken. The first version of this Scripting article mainly consists/consisted of a port of the FreeMind script collection. LIBRARY for creation and usage of global variables.Export nodes, notes and details to OPML.Template Chooser - Create nodes from templates.display the corresponding web page in an external browser.construct a valid URI to be understood from a browser.extract text contents from a node as part of a HTTP request.Remove Node and Log its Text in Parent Note.Register a Markdown IContentTransformer.Simple bookmark implementation using scripts.Export Node children as table for latex import.Import the structure of a LaTeX document as a mind map.Sort child nodes alphabetically, by length or by other properties.A node with the last modification date of the map.XML External Entity vulnerability in map parser Scripting! Update Freeplane's Groovy version Information management with Freeplane add-on dView(indexfile) Groovy scripts and formulas can escape sandbox Freeplane features you were missing in FreeMind
0 Comments
Leave a Reply. |