It won't convert every possible value but most are covered. Things like list items aren't parsed. If anyone wants to parse those, feel free to change the script and post it here.
The converter makes use of the OOP GUI library itself and the Regex class posted by Frankie. I included the Regex class for convenience, the OOP GUI library is not included because I expect it will change much in the future. You'll need to download it from the other thread.
Download
And two images as visualization:


2011_07_31:Updated to fix an issue with window title.
2011_09_28:Updated the converter to adjust to recent CGUI changes and add new features.






