It does make sense to return this from SetConsole(), that would be the perfect solution, but (I) can't see how to do that without breaking existing scripts ... [Frown]