It is possible to make this as a script, but it is waaaay too much work for something like that, especially since there is a very good Messenger Activity available for putting in advanced formulas, called "Math Pastebin":
http://gallery.live.com/LiveItemDetail.aspx?li=fc...-8fd2-6bae407f1de3
It doesn't require anything special...
--
PS: all this has been reported for splitting as this is not a feature request thread or thread to ask for a certain script. This thread was made to make clear that script aren't the "can do everything including making world piece"-tools. Although you can make advanced scripts, they have their restrictions too... ...splitted