Hi, Just made a note about testing for an empty string in QtScript under an issue here - http://code.google.com/p/texworks/issues/detail?id=221#c15 Any one else worked through this at all? Paul