This wouldn't be *that* easy from a script, since the language can vary very easily as well. Hence the suggestion of identifying the syntaxes in any other - fixed - way..