Anonymous - 2010-01-19

I plan to make a GTD mindmap with Freemind, and I need to change attributes of nodes by Hotkeys (to allow filtering). It could be done by assigning a pattern with a script: You press a kye, assign a pattern and with this, run a script that adds or changes the attribute.
My problem: this don't work. Script runs, but only without attributes.
If I add a simple script to a pattern:
It changes its color to red, so script runs.

If I add a script to the node:
node.getAttributes().setValue(0, "OK");
after Menu/Tools/Evaulate the script changes the first attribute to OK, so it seems to be OK. After pasting he same script in place to the first 'red' one it doesn't run.
Can anyone help? Is it a bug?