![]() by creation date: Change "it.text" to "it.createdAt".by last modification date: Change "it.text" to "it.lastModifiedAt". ![]() 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. ![]()
0 Comments
Leave a Reply. |