A groovy console that runs on groovy 4 and java 17 to replace wikdshell add-on
groovyConsole is an add-on for Freeplane that opens a Groovy Console and works with Groovy 4 and can be used with the new versions of Freeplane.
- It has access to the Freeplane API so it can interact with nodes and maps
- It can load / save script files to be used with Freeplane
- It can 'save' scripts as node's notes or attributes
- If you select a node that has a script and then you open the groovy console, the script will be automatically loaded in the console editor
- You can edit the script and 'save' it back to the node
- You can choose if you want to save the script in its original node or into the currently selected one
- You can choose if you want to 'save' it as a note or as 'script1' attribute
The script stays in the map, so you don't need to have multiple files for you short scripts
You can configure some parameters of the add-on in Freeplane 's preferences.
| parameter | Description | Default value | Notes |
|---|---|---|---|
| Attribute for file extensions | Name of the attribute to indicate the file extension associated with the node | file_ext | When you decide to save a script as a node's note, it will 'mark' this node by defining its details to '.groovy'. But if its details have a text allready, then it will add a new attribute to the node to do this. The name of this attribute is defined in this preference. |
| Open in full Screen mode? | Groovy Console must open in full screen mode | true | I choose true because I work with two monitors and this way it opens allways in fullscreen mode in the other monitor. |
| Show console button labels | Shows the labels of the buttons added to thr Groovey Console's toolbar | true | The default value is true, so new users can become familiar with this buttons. I have this option turned off |
| Default writing target | Defines which is your preferred destination when writing (saving) a script into a node: 0. its note 1. "script1" attribute |
1. "script1" attribute | Everytime you save a new script in a node, it asks you where do you want to save it in (node or script1). This parameter indicates which is the preselected option. Personally I prefer to save my scripts in the notes, because this way I can look at them easier, but using script1 has its advantages too: they can be directly executed by Freeplane. |
The Groovy Swing Console is a standard component from the Groovy language. It allows a user to enter and run Groovy scripts.
It looks like this:
more information about it and all its features can be found in the Groovy Console official page
wikdshell is an add-on that opened a Groovy Console to write and use scripts with Freeplane.
wikdshell works with Freeplane versions up to v1.9.15.
But with the new versions starting as v1.10.1 it doesn't work any longer.










