Hi,
I'm glad it helped; indeed, the mangled formatting is rather unfriendly for
python code...; at least the quoting trick seems to work ok.
This is exactly the oppourtunity for python scripting, where you can reuse a
ready made function  in the json module.
Just a small tip - you can open any script file by simultaneously pressing left
and right mouse button over a menu item of the respective script; you don't need
a dedicated own function for this.
regards,
   vbr

-- 
<http://forum.pspad.com/read.php?2,65617,65663>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem